Include authors meta tag

This commit is contained in:
Johannes Arnold 2023-04-27 16:12:47 +02:00 committed by GitHub
parent a1a99cf126
commit 641b5656ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,6 +16,15 @@
{{ else }}
<meta name="robots" content="noindex, nofollow">
{{ end }}
{{ with .Params.author | default .Site.Params.author }}
<meta name="author" content = "
{{- if reflect.IsSlice . -}}
{{ delimit . ", " | plainify }}
{{- else -}}
{{ . | plainify }}
{{- end -}}
">
{{ end }}
{{ partial "site-style.html" . }}
{{ partial "site-scripts.html" . }}