mirror of
https://github.com/yuzu-emu/shared-bulma-theme.git
synced 2024-12-22 18:05:36 +00: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>
|
||||
<title>{{ .Title }} on {{ .Site.Title }} </title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
|
@ -14,6 +14,7 @@
|
|||
<author>{{ .Params.Author }}</author>
|
||||
<guid>{{ .Permalink }}</guid>
|
||||
<description>{{ .Summary | html }}</description>
|
||||
<content:encoded>{{ .Content | html }}</content:encoded>
|
||||
</item>
|
||||
{{ end }}
|
||||
</channel>
|
||||
|
|
Loading…
Reference in a new issue