From 1b8196040e618aaa1d2ca592123ac4658d3ca344 Mon Sep 17 00:00:00 2001 From: echtnurich Date: Wed, 13 Dec 2023 17:55:16 +0000 Subject: [PATCH] RSS: Add authors --- themes/ccchh/layouts/_default/rss.xml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/themes/ccchh/layouts/_default/rss.xml b/themes/ccchh/layouts/_default/rss.xml index 0c9217b..cc83ee8 100644 --- a/themes/ccchh/layouts/_default/rss.xml +++ b/themes/ccchh/layouts/_default/rss.xml @@ -61,6 +61,11 @@ {{ .Title }} {{ .Permalink }} + {{ with .GetTerms "authors" }} + {{- range $i, $pageAuthor := . }} + {{- if $i }}, {{ end }}{{ .Title }} + {{- end }} + {{- end }} {{ .PublishDate.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} {{- with $authorEmail }}{{ . }}{{ with $authorName }} ({{ . }}){{ end }}{{ end }} {{ .Permalink }}