diff --git a/templates/macros/post.html b/templates/macros/post.html index b514978..58d4946 100644 --- a/templates/macros/post.html +++ b/templates/macros/post.html @@ -27,6 +27,16 @@ {% endmacro post_date %} +{% macro updated(page) %} + + {%- if page.updated %} +
+ Updated {{ page.updated | date(format="%Y-%m-%d") }} +
+ {%- endif %} +{% endmacro updated %} + + {% macro earlier_later(page) %} {%- if config.extra.enable_post_view_navigation and page.earlier or page.later %} {{ post_macros::tags(page=page) }} + {{ post_macros::updated(page=page) }} {% endmacro header %}