Skip to content
This repository was archived by the owner on Jun 6, 2021. It is now read-only.

Commit b482daf

Browse files
committed
Provide full content for Atom feeds
1 parent 2761ae7 commit b482daf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cms7/modules/feed.py

+2
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,14 @@ def render(self, gs):
2626
for a in reversed(blog.articles[-15:]):
2727

2828
summary = str(a.source.render(gs, paragraphs=3, hyphenate=False))
29+
content = str(a.source.render(gs, hyphenate=False))
2930

3031
enclosure = meta_get_one(a.source, 'enclosure', None)
3132
if enclosure:
3233
enclosure = self.parent.enclosure_info(enclosure)
3334
feed.add_item(a.title, gs.url_for(a.name, absolute=True),
3435
description = summary,
36+
content = content,
3537
author_name=a.author,
3638
enclosure=enclosure)
3739

0 commit comments

Comments
 (0)