Add authors taxonomy

This commit is contained in:
Will Faught
2023-03-15 19:51:52 -07:00
parent a66f33962c
commit 062c45579d
6 changed files with 64 additions and 22 deletions

View File

@@ -46,7 +46,13 @@
{{ range $pages }}
<item>
{{ with partial "paige/authors.html" . }}
<author>{{ . }}</author>
{{ $authors := slice }}
{{ range . }}
{{ $authors = $authors | append .name }}
{{ end }}
<author>{{ delimit $authors ", " }}</author>
{{ end }}
{{ if .Content }}
<description>{{ printf "<![CDATA[%s]]>" .Content | safeHTML }}</description>