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 @@
16 {% if page.date %} 16 {% if page.date %}
17 <p><time datetime="{{ page.date | date(format='%Y-%m-%d %H:%M:%S') }}">{{ page.date }}</time></p> 17 <p><time datetime="{{ page.date | date(format='%Y-%m-%d %H:%M:%S') }}">{{ page.date }}</time></p>
18 {% endif %} 18 {% 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 %}
19 <p>{{ page.word_count }} words; {{ page.reading_time }} minute(s)</p> 22 <p>{{ page.word_count }} words; {{ page.reading_time }} minute(s)</p>
20{% if page.toc %} 23{% if page.toc %}
21 <details open> 24 <details open>