diff options
| author | Christian Cleberg <[email protected]> | 2024-03-13 21:27:59 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2024-03-13 21:27:59 -0500 |
| commit | 5a8169e0f5d2cc430ce833851c5fdaa5c96fe100 (patch) | |
| tree | db6638e1f7e02de90b97f22aebd53078898ce339 | |
| parent | cded249192574b097e63e3e91d59b06efe17cecc (diff) | |
| download | cleberg.net-5a8169e0f5d2cc430ce833851c5fdaa5c96fe100.tar.gz cleberg.net-5a8169e0f5d2cc430ce833851c5fdaa5c96fe100.tar.bz2 cleberg.net-5a8169e0f5d2cc430ce833851c5fdaa5c96fe100.zip | |
add option to show last updated page date
| -rw-r--r-- | templates/page.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/page.html b/templates/page.html index 99f42ab..b858d1a 100644 --- a/templates/page.html +++ b/templates/page.html @@ -16,6 +16,9 @@ {% if page.date %} <p><time datetime="{{ page.date | date(format='%Y-%m-%d %H:%M:%S') }}">{{ page.date }}</time></p> {% endif %} + {% if page.updated %} + <p>Last Updated: <time datetime="{{ page.updated | date(format='%Y-%m-%d %H:%M:%S') }}">{{ page.updated }}</time></p> + {% endif %} <p>{{ page.word_count }} words; {{ page.reading_time }} minute(s)</p> {% if page.toc %} <details open> |
