mirror of
https://github.com/rottenwheel/revuoxmrtheme.git
synced 2024-11-09 20:20:06 +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" : "{{ if .Description }}{{ .Description }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ end }}{{ end }}",
|
||||||
"description" : "{{ with .Description }}{{ . }}{{ else }}{{ .Site.Params.description }}{{ end }}"
|
"description" : "{{ with .Description }}{{ . }}{{ else }}{{ .Site.Params.description }}{{ end }}"
|
||||||
"inLanguage" : "{{ .Lang }}",
|
"inLanguage" : "{{ .Lang }}",
|
||||||
"author" : "{{ range .Site.Author }}{{ . }}{{ end }}",
|
"author" : "{{ .Site.Params.Author.name }}",
|
||||||
"creator" : "{{ range .Site.Author }}{{ . }}{{ end }}",
|
"creator" : "{{ .Site.Params.Author.name }}",
|
||||||
"publisher": "{{ range .Site.Author }}{{ . }}{{ end }}",
|
"publisher": "{{ .Site.Params.Author.name }}",
|
||||||
"accountablePerson" : "{{ range .Site.Author }}{{ . }}{{ end }}",
|
"accountablePerson" : "{{ .Site.Params.Author.name }}",
|
||||||
"copyrightHolder" : "{{ range .Site.Author }}{{ . }}{{ end }}",
|
"copyrightHolder" : "{{ .Site.Params.Author.name }}",
|
||||||
"copyrightYear" : "{{ .Date.Format "2006" }}",
|
"copyrightYear" : "{{ .Date.Format "2006" }}",
|
||||||
"datePublished": "{{ .Date | safeHTML }}",
|
"datePublished": "{{ .Date | safeHTML }}",
|
||||||
"dateModified" : "{{ .Date | safeHTML }}",
|
"dateModified" : "{{ .Date | safeHTML }}",
|
||||||
|
|
Loading…
Reference in a new issue