aboutsummaryrefslogtreecommitdiff
path: root/_layouts
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-08-09 13:55:42 -0300
committerEuAndreh <eu@euandre.org>2020-08-09 13:55:42 -0300
commit922eda76d358e73d822561976c7b1f57fa2345b9 (patch)
tree7011c02888872b673e5777be13641887e9883f0b /_layouts
parentsobre.md: Disclaim english-only link (diff)
downloadeuandre.org-922eda76d358e73d822561976c7b1f57fa2345b9.tar.gz
euandre.org-922eda76d358e73d822561976c7b1f57fa2345b9.tar.xz
Show updated_at in post header
Diffstat (limited to '_layouts')
-rw-r--r--_layouts/post.html5
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>