diff --git a/layouts/_default/index.html b/layouts/_default/index.html index 94ab8ff2..6cbf1b81 100644 --- a/layouts/_default/index.html +++ b/layouts/_default/index.html @@ -34,6 +34,7 @@ {{ if $.Site.Params.ShowReadingTime }} . {{ .ReadingTime }}{{ $.Site.Params.MinuteReadingTime | default "min read" }}{{ end }} + {{ if or .Params.author .Site.Params.author }} . {{ .Params.author | default .Site.Params.author }}{{ end }} diff --git a/layouts/_default/list.html b/layouts/_default/list.html index bf67f370..6a3ca91f 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -29,6 +29,7 @@ {{ if $.Site.Params.ShowReadingTime }} . {{ .ReadingTime }}{{ $.Site.Params.MinuteReadingTime | default "min read" }}{{ end }} + {{ if or .Params.author .Site.Params.author }} . {{ .Params.author | default .Site.Params.author }}{{ end }}