From 593b019dc2091867e7da1ba9e9ea29d294c420f8 Mon Sep 17 00:00:00 2001 From: echtnurich Date: Wed, 13 Dec 2023 18:30:00 +0000 Subject: [PATCH] use with-end syntax --- themes/ccchh/layouts/_default/rss.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/ccchh/layouts/_default/rss.xml b/themes/ccchh/layouts/_default/rss.xml index b746bf6..7aee80c 100644 --- a/themes/ccchh/layouts/_default/rss.xml +++ b/themes/ccchh/layouts/_default/rss.xml @@ -61,7 +61,7 @@ {{ .Title }} {{ .Permalink }} - {{ .GetTerms "authors" | delimit ", " }} + {{ with .GetTerms "authors" }} {{ delimit . ", " }} {{- end }} {{ .PublishDate.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} {{- with $authorEmail }}{{ . }}{{ with $authorName }} ({{ . }}){{ end }}{{ end }} {{ .Permalink }}