fix: move param under languages.xx.toml params.author

This commit is contained in:
Wen Junhua
2023-11-25 12:29:10 +08:00
parent 394a018e08
commit 4b3d31eff3
15 changed files with 116 additions and 81 deletions
+2 -2
View File
@@ -117,8 +117,8 @@
{{/* Schema */}}
{{ partial "schema.html" . }}
{{/* Me */}}
{{ with .Site.Params.Author.name }}<meta name="author" content="{{ . }}" />{{ end }}
{{ with .Site.Params.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 }}