Fix authors in meta tag

This commit is contained in:
Will Faught
2023-03-22 22:34:38 -07:00
parent 31a343e1af
commit 5789446153

View File

@@ -3,7 +3,13 @@
<meta charset="utf-8">
{{ with partial "paige/authors.html" $page }}
<meta content="{{ . }}" name="author">
{{ $authors := slice }}
{{ range . }}
{{ $authors = $authors | append .name }}
{{ end }}
<meta content="{{ delimit $authors `, ` }}" name="author">
{{ end }}
{{ with $page.Description }}