shared-bulma-theme/layouts/rss.xml
Michael Manganiello e86ed45e26 layouts: Add full content to RSS entries
Adds the full content of blog posts to RSS entries, by using the
`<content:encoded>` tag.

Fixes https://github.com/yuzu-emu/yuzu-emu.github.io/issues/299

Resources:
* https://web.resource.org/rss/1.0/modules/content/
2023-05-09 12:43:47 -06:00

22 lines
926 B
XML

<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<title>{{ .Title }} on {{ .Site.Title }} </title>
<link>{{ .Permalink }}</link>
<language>en-US</language>
<author>{{ .Title }} Team</author>
<rights>Copyright (c) 2017-{{ .Date.Format "2006" }}, {{ .Title }}; all rights reserved.</rights>
<updated>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 MST" }}</updated>
{{ range where .Site.RegularPages "Section" "entry" }}
<item>
<title>{{ .Title }}</title>
<link>{{ .Permalink }}</link>
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 MST" }}</pubDate>
<author>{{ .Params.Author }}</author>
<guid>{{ .Permalink }}</guid>
<description>{{ .Summary | html }}</description>
<content:encoded>{{ .Content | html }}</content:encoded>
</item>
{{ end }}
</channel>
</rss>