add tags to rss

This commit is contained in:
John Bowdre 2023-12-30 17:03:13 -06:00
parent f0b0c8076b
commit 13fc5f8789

View file

@ -36,6 +36,9 @@
<link>{{ .Permalink }}</link>
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
{{ with .Site.Params.Author.name }}<dc:creator>{{.}}</dc:creator>{{end}}
<category>{{ .Params.series | lower }}</category>
{{ range (.GetTerms "tags") }}
<category>{{ .LinkTitle }}</category>{{end}}
<guid>{{ .Permalink }}</guid>
<description>{{ .Summary | transform.XMLEscape | safeHTML }}</description>
</item>