plainify rss title and summary

This commit is contained in:
John Bowdre 2023-12-30 17:03:25 -06:00
parent 2b124f149e
commit cb8e66fabe

View file

@ -32,7 +32,7 @@
</image>
{{ range $pages }}
<item>
<title>{{ .Title }}</title>
<title>{{ .Title | plainify }}</title>
<link>{{ .Permalink }}</link>
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
{{ with .Site.Params.Author.name }}<dc:creator>{{.}}</dc:creator>{{end}}
@ -40,7 +40,7 @@
{{ range (.GetTerms "tags") }}
<category>{{ .LinkTitle }}</category>{{end}}
<guid>{{ .Permalink }}</guid>
<description>{{ .Summary | transform.XMLEscape | safeHTML }}</description>
<description>{{ .Summary | plainify }}</description>
</item>
{{ end }}
</channel>