Updated to author params and GoogleAnalytics params with Hugo v0.120.0.

This commit is contained in:
Fredrik Jonsson 2023-10-30 20:23:12 +01:00
commit 106d3df37e

View file

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