diff --git a/themes/briar/layouts/rss.xml b/themes/briar/layouts/rss.xml index a382a288727e9e797954754a9de80bdca92f283e..06096ae5285cd5fc568f4dd09351fd349a7f2abb 100644 --- a/themes/briar/layouts/rss.xml +++ b/themes/briar/layouts/rss.xml @@ -12,7 +12,7 @@ <name>{{.}}</name>{{ with $.Site.Author.email }} <email>{{.}}</email>{{end}} </author>{{end}} - <generator>Hugo -- gohugo.io</generator>{{ range first 15 (where .Data.Pages "Type" "in" .Site.Params.mainSections) }} + <generator>Hugo -- gohugo.io</generator>{{ range .Pages }} <entry> {{ `<title type="html"><![CDATA[` | safeHTML }}{{ .Title }}]]></title> <link href="{{ .Permalink }}"/> @@ -22,7 +22,7 @@ </author>{{end}} <published>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</published> <updated>{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated> - <summary>{{ .Summary }}</summary> + {{`<summary><![CDATA[` | safeHTML }}{{ with .Param "description" }}{{ . }}{{ else }}{{ .Summary }}{{ end }}]]></summary> <!-- Disable atom content {{ `<content type="html"><![CDATA[` | safeHTML }}{{ .Content }}]]></content> -->