From 2687d55d7e230cfb7630716a7e350dcce78dd519 Mon Sep 17 00:00:00 2001 From: Dan C Williams Date: Sun, 11 Nov 2018 15:23:10 -0600 Subject: [PATCH] Updated post_meta.html to format the Author properly in else clause --- layouts/partials/post_meta.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/layouts/partials/post_meta.html b/layouts/partials/post_meta.html index a3b84e6..61f6637 100644 --- a/layouts/partials/post_meta.html +++ b/layouts/partials/post_meta.html @@ -12,7 +12,9 @@  |  {{ .WordCount }} {{ i18n "words" }} {{ end }} {{ if .Params.author }} -  |  {{ .Params.author | safeHTML }}{{ else }}{{ .Site.Author.name | safeHTML }} +  |  {{ .Params.author | safeHTML }} + {{ else }} +  |  {{ .Site.Author.name | safeHTML }} {{ end }} {{- if .Site.Params.staticman -}}  |