Updated to author params and GoogleAnalytics params with Hugo v0.120.0.
This commit is contained in:
parent
94a6dc0af3
commit
106d3df37e
1 changed files with 17 additions and 18 deletions
|
|
@ -23,11 +23,11 @@
|
|||
{{ with $.Param "favicon" -}}
|
||||
"favicon": "{{ . | absURL }}",
|
||||
{{ end -}}
|
||||
{{ with site.Author.name -}}
|
||||
{{ with site.Params.author.name -}}
|
||||
"authors": [
|
||||
{
|
||||
"name": "{{ . }}"{{ with site.Author.url }},
|
||||
"url": "{{ . }}"{{ end }}{{ with site.Author.avatar }},
|
||||
"name": "{{ . }}"{{ with site.Params.author.url }},
|
||||
"url": "{{ . }}"{{ end }}{{ with site.Params.author.avatar }},
|
||||
"avatar": "{{ . | absURL }}"{{ end }}
|
||||
}
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in a new issue