From 4ad431ffc128fac51feb4b4623c9e426a52ff0bf Mon Sep 17 00:00:00 2001 From: recanman <29310982+recanman@users.noreply.github.com> Date: Wed, 3 Jul 2024 22:16:31 -0700 Subject: [PATCH] fix: use correct site author field --- layouts/partials/head.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 }}",