From 16c77f14203e9b938bcb7e497c3f32682dbdbeaa Mon Sep 17 00:00:00 2001 From: Emiel Hollander Date: Thu, 20 Aug 2020 12:59:58 +0200 Subject: Use .Site.Author.name in post info The footer already used .Site.Author.name instead of .Site.Params.Author and now post info uses this variable as well. You can now safely delete .Site.Params.Author from your configuration. See #36 --- layouts/partials/single/post-info.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/single/post-info.html b/layouts/partials/single/post-info.html index d4a4353..b5c8aa3 100644 --- a/layouts/partials/single/post-info.html +++ b/layouts/partials/single/post-info.html @@ -3,11 +3,11 @@ {{- if .Params.Author }} {{ .Params.Author }} {{- else }} - {{ .Site.Params.Author }} + {{ .Site.Author.name }} {{- end }} {{- if .PublishDate }}
{{ i18n "on" }}  {{- end }} - \ No newline at end of file + -- cgit v1.2.3