fix: use correct site author field

This commit is contained in:
recanman 2024-07-03 22:16:31 -07:00
parent ac94d0293f
commit 4ad431ffc1

View file

@ -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 }}",