chore: Move .Site.Author to .Site.Params.Author

This commit is contained in:
unacro
2024-08-11 20:45:05 +08:00
parent 41615910a7
commit d6873cf1b1
15 changed files with 40 additions and 35 deletions
+2 -2
View File
@@ -105,9 +105,9 @@
{{/* Schema */}}
{{ partial "schema.html" . }}
{{/* Me */}}
{{ with .Site.Author.name }}
{{ with .Site.Params.Author.name }}
<meta name="author" content="{{ . }}" />{{ end }}
{{ with .Site.Author.links }}
{{ with .Site.Params.Author.links }}
{{ range $links := . }}
{{ range $name, $url := $links }}
<link href="{{ $url }}" rel="me" />{{ end }}