aboutsummaryrefslogtreecommitdiff
path: root/content/templates/feed.xml
diff options
context:
space:
mode:
Diffstat (limited to 'content/templates/feed.xml')
-rw-r--r--content/templates/feed.xml7
1 files changed, 3 insertions, 4 deletions
diff --git a/content/templates/feed.xml b/content/templates/feed.xml
index 0319910..fa761b8 100644
--- a/content/templates/feed.xml
+++ b/content/templates/feed.xml
@@ -3,9 +3,8 @@
from the site that served it, so every URL here is absolute — which is what
`| absolute` needs [site] base_url for.
- One difference from weblorg: <description> carries each post's excerpt rather than its
- full HTML. org-ssg gives a collection template each entry's metadata, not its rendered
- body. #}
+ <description> carries each post's full rendered HTML, as weblorg's feed does — the
+ collection sets `include_content` to ask for it. #}
<rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
@@ -29,7 +28,7 @@
{%- for tag in post.tags %}
<category>{{ tag }}</category>
{%- endfor %}
- <description>{{ post.excerpt }}</description>
+ <description><![CDATA[{{ post.content | safe }}]]></description>
</item>
{%- endfor %}
</channel>