mirror of
https://github.com/yuzu-emu/shared-bulma-theme.git
synced 2024-11-21 23:15:37 +01:00
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/
This commit is contained in:
parent
c497835859
commit
e86ed45e26
@ -1,4 +1,4 @@
|
|||||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
|
||||||
<channel>
|
<channel>
|
||||||
<title>{{ .Title }} on {{ .Site.Title }} </title>
|
<title>{{ .Title }} on {{ .Site.Title }} </title>
|
||||||
<link>{{ .Permalink }}</link>
|
<link>{{ .Permalink }}</link>
|
||||||
@ -14,6 +14,7 @@
|
|||||||
<author>{{ .Params.Author }}</author>
|
<author>{{ .Params.Author }}</author>
|
||||||
<guid>{{ .Permalink }}</guid>
|
<guid>{{ .Permalink }}</guid>
|
||||||
<description>{{ .Summary | html }}</description>
|
<description>{{ .Summary | html }}</description>
|
||||||
|
<content:encoded>{{ .Content | html }}</content:encoded>
|
||||||
</item>
|
</item>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</channel>
|
</channel>
|
||||||
|
Loading…
Reference in New Issue
Block a user