Improve RSS Feed #24

Merged
echtnurich merged 1 commit from rss-improvements into main 2024-01-27 23:15:23 +01:00
Showing only changes of commit 1b8196040e - Show all commits

RSS: Add authors
All checks were successful
/ build (pull_request) Successful in 36s

echtnurich 2023-12-13 17:55:16 +00:00 committed by jtbx

View file

@ -61,6 +61,11 @@
<item>
<title>{{ .Title }}</title>
<link>{{ .Permalink }}</link>
<author>{{ with .GetTerms "authors" }}
{{- range $i, $pageAuthor := . }}
{{- if $i }}, {{ end }}{{ .Title }}
{{- end }}
{{- end }}</author>
<pubDate>{{ .PublishDate.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
{{- with $authorEmail }}<author>{{ . }}{{ with $authorName }} ({{ . }}){{ end }}</author>{{ end }}
<guid>{{ .Permalink }}</guid>