From 92d9918e103559324cc389c4c26e7261fbd3cb89 Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Sat, 4 Dec 2021 11:01:05 -0300 Subject: [PATCH] Improve post header layout --- _includes/postheader.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/_includes/postheader.html b/_includes/postheader.html index fb8d492..27db54d 100644 --- a/_includes/postheader.html +++ b/_includes/postheader.html @@ -1,2 +1,5 @@ -

{{ include.post.title }}

-{{ include.post.date | date_to_string }} - written by {{ include.post.author }} +{% if include.post.title == page.title %}

{% else %}

{% endif %} +{{ include.post.title }} +{% if include.post.title == page.title %}

{% else %}{% endif %} +{{ include.post.date | date: "%B %-d, %Y" }} - written by {{ include.post.author }} +{% if include.post.title == page.title %}{% else %}{% endif %}