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 | |
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 '')
-rw-r--r-- | _config.yml | 3 | ||||
-rw-r--r-- | _layouts/post.html | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/_config.yml b/_config.yml index dbde8cd..35e9d05 100644 --- a/_config.yml +++ b/_config.yml @@ -59,6 +59,9 @@ t: posted_on: en: 'Posted on' pt: 'Postado em' + updated_at: + en: 'Updated at' + pt: 'Atualizado em' alt: blog_feed: en: 'Blog feed' 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> |