aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--_config.yml3
-rw-r--r--_layouts/post.html5
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>