diff options
| -rw-r--r-- | layouts/_default/index.html | 1 | ||||
| -rw-r--r-- | layouts/_default/list.html | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/layouts/_default/index.html b/layouts/_default/index.html index 94ab8ff..6cbf1b8 100644 --- a/layouts/_default/index.html +++ b/layouts/_default/index.html @@ -34,6 +34,7 @@ <time>{{ .Date.Format "January 2, 2006" }}</time> {{ 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 }} </footer> <a class="entry-link" href="{{ .Permalink }}"></a> </article> diff --git a/layouts/_default/list.html b/layouts/_default/list.html index bf67f37..6a3ca91 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -29,6 +29,7 @@ <time>{{ .Date.Format "January 2, 2006" }}</time> {{ 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 }} </footer> <a class="entry-link" href="{{ .Permalink }}"></a> </article> |
