From 1296a7e9c13d754e159f6cd79b681aef3987962f Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Wed, 23 Aug 2023 17:02:19 -0500 Subject: [PATCH] further improve aside
logic --- layouts/partials/aside.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/aside.html b/layouts/partials/aside.html index 8eba8c4..2311e32 100644 --- a/layouts/partials/aside.html +++ b/layouts/partials/aside.html @@ -1,5 +1,5 @@ -{{ if .Params.description }}

{{ .Params.description }}

{{ end }} -{{ if or (.Params.author) (.Params.date) }} +{{ if or (.Params.description) (.Params.author) (.Params.date) }} + {{ if .Params.description }}

{{ .Params.description }}

{{ end }}

{{ if .Params.author }}By {{ .Params.author }}{{ if .Date }}, {{ end }}{{ end }} {{ if .Date }}{{ .Date.Format "2006-01-02" }}{{ end }}