Commit 5a8169e0f5

5a8169e0f5d2cc430ce833851c5fdaa5c96fe100

parent: cded249192

Unsigned

cmc <hello@cleberg.net> · 2024-03-14 02:27 UTC

add option to show last updated page date

Layout: unified · split

templates/page.html +3
@@ -16,6 +16,9 @@
1616 {% if page.date %}
1717 <p><time datetime="{{ page.date | date(format='%Y-%m-%d %H:%M:%S') }}">{{ page.date }}</time></p>
1818 {% endif %}
19 {% if page.updated %}
20 <p>Last Updated: <time datetime="{{ page.updated | date(format='%Y-%m-%d %H:%M:%S') }}">{{ page.updated }}</time></p>
21 {% endif %}
1922 <p>{{ page.word_count }} words; {{ page.reading_time }} minute(s)</p>
2023{% if page.toc %}
2124 <details open>