From b87c2015f39ed68dd945d2c7704750d9e874e2c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Gaya?= Date: Wed, 24 Jun 2026 11:41:41 +0200 Subject: [PATCH 1/2] fix RSS title --- layouts/_partials/rss/item.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/layouts/_partials/rss/item.html b/layouts/_partials/rss/item.html index d4a162873..ef3a73b0c 100644 --- a/layouts/_partials/rss/item.html +++ b/layouts/_partials/rss/item.html @@ -1,8 +1,6 @@ - {{- printf "<![CDATA[" | safeHTML }} - {{ .item.Title }} - {{ printf "]]>" | safeHTML -}} + {{ printf "<title><![CDATA[%s]]>" .item.Title | safeHTML }} {{ .item.Permalink }} {{ .item.PublishDate.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} @@ -17,4 +15,4 @@ {{ end -}} {{ partial "rss/item/image.html" .item.Params.image }} {{ partial "rss/item/taxonomies.html" .item.Params.taxonomies }} - \ No newline at end of file + From 04abc9fbb194f22aae246718cc739e8b28d3a693 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Gaya?= Date: Wed, 24 Jun 2026 11:45:08 +0200 Subject: [PATCH 2/2] oopsi --- layouts/_partials/rss/item.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/layouts/_partials/rss/item.html b/layouts/_partials/rss/item.html index ef3a73b0c..5766367eb 100644 --- a/layouts/_partials/rss/item.html +++ b/layouts/_partials/rss/item.html @@ -1,7 +1,5 @@ - - {{ printf "<title><![CDATA[%s]]>" .item.Title | safeHTML }} - + {{ printf "<![CDATA[%s]]>" .item.Title | safeHTML }} {{ .item.Permalink }} {{ .item.PublishDate.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} {{- with .authorEmail }}{{ . }}{{ with .authorName }} ({{ . }}){{ end }}{{ end }}