From 3720c8b0146c10a63dc1d9eba0556e0a67adfd1d Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 12 Aug 2020 12:06:07 -0300 Subject: Use _includes/i18n-date.html for dates --- _layouts/post.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '_layouts/post.html') 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 ---
- {{ 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 %}
{% if page.updated_at %} -
- {{ site.t.updated_at[page.lang] }} {{ page.updated_at | date: site.t.date_format[page.lang] }} +
+ {{ site.t.updated_at[page.lang] }}
{% endif %}
-- cgit v1.2.3