From 9e9c7d34038a830d22397bbec08e7ec64eb0a0d7 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Mon, 3 May 2021 22:05:25 +0200 Subject: Improve posts title rendering --- layouts/partials/docs/post-meta.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'layouts/partials/docs/post-meta.html') diff --git a/layouts/partials/docs/post-meta.html b/layouts/partials/docs/post-meta.html index 527431a..01adf8b 100644 --- a/layouts/partials/docs/post-meta.html +++ b/layouts/partials/docs/post-meta.html @@ -1,4 +1,4 @@ -{{ with .Date}} +{{ with .Date }}
{{ partial "docs/date" (dict "Date" . "Format" $.Site.Params.BookDateFormat) }}
{{ end }} @@ -12,12 +12,12 @@ {{ end }} {{ end }} +{{ if .Params.image }}

-{{ if .Params.image}} {{ with .Resources.GetMatch .Params.image }} {{ else }} {{ end }} -{{ end }}

+{{ end }} -- cgit v1.2.3