From 5f843dbeef464337cd7a150eef72985ee7f017cc Mon Sep 17 00:00:00 2001 From: Miguel de la Cruz Date: Sun, 7 Jan 2024 11:27:19 +0100 Subject: [PATCH] Undo content fix --- themes/clean/layouts/_default/rss.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/themes/clean/layouts/_default/rss.xml b/themes/clean/layouts/_default/rss.xml index 7c2e158..797d6b6 100644 --- a/themes/clean/layouts/_default/rss.xml +++ b/themes/clean/layouts/_default/rss.xml @@ -58,14 +58,13 @@ {{ printf "" .Permalink .MediaType | safeHTML }} {{- end }} {{- range $pages }} - {{ $content := (or .Content .Summary) }} {{ .Title }} {{ .Permalink }} {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} {{- with $authorEmail }}{{ . }}{{ with $authorName }} ({{ . }}){{ end }}{{ end }} {{ .Permalink }} - {{ $content | transform.XMLEscape | safeHTML }} + {{ .Content | transform.XMLEscape | safeHTML }} {{- end }}