🔀 Merge pull request #704 from Jh123x/fix/690/hugo-v0.120.0-author-key-update

feat: move author field to languages.xx.toml under params
This commit is contained in:
James Panther
2023-11-27 19:08:44 +11:00
committed by GitHub
16 changed files with 39 additions and 36 deletions
+2 -2
View File
@@ -122,8 +122,8 @@
{{/* Schema */}}
{{ partial "schema.html" . }}
{{/* Me */}}
{{ with .Site.Author.name }}<meta name="author" content="{{ . }}" />{{ end }}
{{ with .Site.Author.links }}
{{ with .Site.Language.Params.Author.name }}<meta name="author" content="{{ . }}" />{{ end }}
{{ with .Site.Language.Params.Author.links }}
{{ range $links := . }}
{{ range $name, $url := $links }}<link href="{{ $url }}" rel="me" />{{ end }}
{{ end }}