mirror of
https://github.com/rottenwheel/revuoxmrtheme.git
synced 2024-11-23 10:32:29 +00:00
fix: use correct site author field
This commit is contained in:
parent
ac94d0293f
commit
4ad431ffc1
1 changed files with 5 additions and 5 deletions
|
@ -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 }}",
|
||||
|
|
Loading…
Reference in a new issue