Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/head/seo.html')
-rw-r--r--layouts/partials/head/seo.html4
1 files changed, 2 insertions, 2 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 }}