mirror of
https://github.com/yuzu-emu/shared-bulma-theme.git
synced 2024-12-22 13:55:37 +00:00
e86ed45e26
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/
22 lines
926 B
XML
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>
|