diff options
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/head/seo.html | 4 | ||||
-rw-r--r-- | layouts/partials/single/footer.html | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/head/seo.html b/layouts/partials/head/seo.html index 8021636..2067721 100644 --- a/layouts/partials/head/seo.html +++ b/layouts/partials/head/seo.html @@ -122,7 +122,7 @@ {{- with .Site.Copyright -}} "license": {{ . | safeHTML }}, {{- end -}} - {{- $publisher := .Params.author.name | default .Site.Author.name | default (T "author") | dict "name" -}} + {{- $publisher := .Params.author | default .Site.Author.name | default (T "author") | dict "name" -}} {{- $publisher = $params.seo.publisher | default dict | merge $publisher -}} "publisher": { "@type": "Organization", @@ -141,7 +141,7 @@ {{- end -}} {{- end -}} }, - {{- with .Params.author.name | default .Site.Author.name | default (T "author") -}} + {{- with .Params.author | default .Site.Author.name | default (T "author") -}} "author": { "@type": "Person", "name": {{ . | safeHTML }} diff --git a/layouts/partials/single/footer.html b/layouts/partials/single/footer.html index be8a2e7..d37d5eb 100644 --- a/layouts/partials/single/footer.html +++ b/layouts/partials/single/footer.html @@ -6,7 +6,7 @@ </span> </div> -{{- $authorName := $params.author.name | default .Site.Author.name | default " " -}} +{{- $authorName := $params.author | default .Site.Author.name | default " " -}} {{- if not (eq $authorName " ") -}} {{ $author := index .Site.Data.authors $authorName }} <div class="footer-post-author" {{- if not $author.ps -}} style="border-radius: 10px;border-bottom: solid 2px #ececec" {{- end -}}> |