diff --git a/layouts/partials/authorbox.html b/layouts/partials/authorbox.html index 20d6dfe..f965d09 100644 --- a/layouts/partials/authorbox.html +++ b/layouts/partials/authorbox.html @@ -1,23 +1,24 @@ {{- if .Param "authorbox" }} +{{ $author := site.Params.author }}
diff --git a/layouts/partials/post_meta/author.html b/layouts/partials/post_meta/author.html index 0ee0fc9..cd40789 100644 --- a/layouts/partials/post_meta/author.html +++ b/layouts/partials/post_meta/author.html @@ -1,6 +1,7 @@ -{{- if .Site.Author.name -}} +{{ $author := site.Params.author }} +{{- if $author.name -}} {{- end -}} \ No newline at end of file