diff options
author | EuAndreh <eu@euandre.org> | 2020-08-12 12:06:07 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-08-12 12:06:07 -0300 |
commit | 3720c8b0146c10a63dc1d9eba0556e0a67adfd1d (patch) | |
tree | 463e3dc33553c05f85275617617f342cb20f38ab /_layouts/post.html | |
parent | scripts/assert-content.sh: Add check for missing title (diff) | |
download | euandre.org-3720c8b0146c10a63dc1d9eba0556e0a67adfd1d.tar.gz euandre.org-3720c8b0146c10a63dc1d9eba0556e0a67adfd1d.tar.xz |
Use _includes/i18n-date.html for dates
Diffstat (limited to '_layouts/post.html')
-rw-r--r-- | _layouts/post.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/_layouts/post.html b/_layouts/post.html index 18debe5..0bb165f 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -3,11 +3,11 @@ layout: default --- <article> <section class="header"> - {{ site.t.posted_on[page.lang] }} {{ page.date | date: site.t.date_format[page.lang] }} + {{ site.t.posted_on[page.lang] }} {% include i18n-date.html date=page.date %} </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 class="header"> + {{ site.t.updated_at[page.lang] }} </section> {% endif %} <section> |