diff options
author | EuAndreh <eu@euandre.org> | 2020-08-09 13:55:42 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-08-09 13:55:42 -0300 |
commit | 922eda76d358e73d822561976c7b1f57fa2345b9 (patch) | |
tree | 7011c02888872b673e5777be13641887e9883f0b /_layouts | |
parent | sobre.md: Disclaim english-only link (diff) | |
download | euandre.org-922eda76d358e73d822561976c7b1f57fa2345b9.tar.gz euandre.org-922eda76d358e73d822561976c7b1f57fa2345b9.tar.xz |
Show updated_at in post header
Diffstat (limited to '_layouts')
-rw-r--r-- | _layouts/post.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/_layouts/post.html b/_layouts/post.html index 629e02f..e6d3a80 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -5,6 +5,11 @@ layout: default <section class="header"> {{ site.t.posted_on[page.lang] }} {{ page.date | date: site.t.date_format[page.lang] }} </section> + {% if page.updated_at %} + <section class="header"> + {{ site.t.updated_at[page.lang] }} {{ page.updated_at | date: site.t.date_format[page.lang] }} + </section> + {% endif %} <section> {{ content }} </section> |