From 35eed5bea57d1e99a255d473afcaed89e86296d0 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 1 Jan 2021 12:43:27 -0300 Subject: Remove
tag from post.html layout, already present in default.html --- _layouts/post.html | 86 ++++++++++++++++++++++++++---------------------------- 1 file changed, 42 insertions(+), 44 deletions(-) (limited to '_layouts/post.html') diff --git a/_layouts/post.html b/_layouts/post.html index afa66df..8aafb9d 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -1,54 +1,52 @@ --- layout: default --- -
+
+ {{ site.t.posted_on[page.lang] }} + {% include i18n-date.html date=page.date %} +
+{% if page.updated_at %}
- {{ site.t.posted_on[page.lang] }} - {% include i18n-date.html date=page.date %} + {{ site.t.updated_at[page.lang] }} + {% include i18n-date.html date=page.updated_at %}
- {% if page.updated_at %} -
- {{ site.t.updated_at[page.lang] }} - {% include i18n-date.html date=page.updated_at %} -
- {% endif %} -
- - {% if page.audio %} - {% assign ogg=page.url | replace_first: "/", "" | replace: ".html", ".ogg" %} - +{% endif %} +
- - {% endif %} + {% if page.audio %} + {% assign ogg=page.url | replace_first: "/", "" | replace: ".html", ".ogg" %} + - {% if page.video %} - {% assign webm=page.url | replace_first: "/", "" | replace: ".html", ".webm" %} - {% if site.flags.direct-video %} - - {% endif %} + + {% endif %} - + {% if page.video %} + {% assign webm=page.url | replace_first: "/", "" | replace: ".html", ".webm" %} + {% if site.flags.direct-video %} + {% endif %} - {{ content }} -
- -
+ + {% endif %} + + {{ content }} + + -- cgit v1.2.3