Merge pull request #56 from nalysius/rss-description

Print the page description in RSS feed
This commit is contained in:
BLZR
2024-03-09 23:32:47 +05:30
committed by GitHub

View File

@ -19,7 +19,7 @@
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
{{ with .Site.Params.author.email }}<author>{{.}}{{ with $.Site.Params.author.name }} ({{.}}){{end}}</author>{{end}}
<guid>{{ .Permalink }}</guid>
<description>{{ .Summary | html }}</description>
<description>{{ printf `<![CDATA[%s]]>` .Page.Params.description | safeHTML }}</description>
<content type="html">{{ printf `<![CDATA[%s]]>` .Content | safeHTML }}</content>
</item>
{{ end }}