Published on: {{ page.date }}
+ {% endif %} + {% if page.updated and page.updated != page.date %} +Last updated on: {{ page.updated }}
+ {% endif %}
{{ page.content | safe }}
diff --git a/templates/page.html b/templates/page.html index 491fecd..a61f999 100644 --- a/templates/page.html +++ b/templates/page.html @@ -1,7 +1,12 @@ {% extends "base.html" %} {% block content %}
Published on: {{ page.date }}
+ {% endif %} + {% if page.updated and page.updated != page.date %} +Last updated on: {{ page.updated }}
+ {% endif %}