diff --git a/layouts/_partials/rss/item.html b/layouts/_partials/rss/item.html index d4a162873..5766367eb 100644 --- a/layouts/_partials/rss/item.html +++ b/layouts/_partials/rss/item.html @@ -1,9 +1,5 @@ - - {{- printf "<![CDATA[" | safeHTML }} - {{ .item.Title }} - {{ printf "]]>" | 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 }} @@ -17,4 +13,4 @@ {{ end -}} {{ partial "rss/item/image.html" .item.Params.image }} {{ partial "rss/item/taxonomies.html" .item.Params.taxonomies }} - \ No newline at end of file +