diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 885b667..f685a49 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -41,11 +41,11 @@ // "description" : "{{ if .Description }}{{ .Description }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ end }}{{ end }}", "description" : "{{ with .Description }}{{ . }}{{ else }}{{ .Site.Params.description }}{{ end }}" "inLanguage" : "{{ .Lang }}", - "author" : "{{ range .Site.Author }}{{ . }}{{ end }}", - "creator" : "{{ range .Site.Author }}{{ . }}{{ end }}", - "publisher": "{{ range .Site.Author }}{{ . }}{{ end }}", - "accountablePerson" : "{{ range .Site.Author }}{{ . }}{{ end }}", - "copyrightHolder" : "{{ range .Site.Author }}{{ . }}{{ end }}", + "author" : "{{ .Site.Params.Author.name }}", + "creator" : "{{ .Site.Params.Author.name }}", + "publisher": "{{ .Site.Params.Author.name }}", + "accountablePerson" : "{{ .Site.Params.Author.name }}", + "copyrightHolder" : "{{ .Site.Params.Author.name }}", "copyrightYear" : "{{ .Date.Format "2006" }}", "datePublished": "{{ .Date | safeHTML }}", "dateModified" : "{{ .Date | safeHTML }}",