From aa2bca89df5edb113c3dc838fc7cb6a379d93386 Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Sat, 1 Aug 2020 21:54:34 +0300 Subject: page template: show updated date if updated after publish date --- templates/page.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/page.html b/templates/page.html index 699bd96..a442437 100644 --- a/templates/page.html +++ b/templates/page.html @@ -17,6 +17,10 @@ {% elif page.permalink is containing("food") %} Yaroslav's recipe book

{% endif %} + {% if page.updated %} +

Last edited {{ page.updated | date(format="%b %d, %Y + %H:%M UTC") }}

+ {% endif %} {% endblock %} {% block content %}
-- cgit v1.2.3