Skip to content

Commit

Permalink
Include authors meta tag (theNewDynamic#634)
Browse files Browse the repository at this point in the history
  • Loading branch information
j0hax authored Apr 18, 2024
1 parent 91df000 commit 0d06863
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -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" . }}
Expand Down

0 comments on commit 0d06863

Please sign in to comment.