Added page content to feed.

pull/33/head
Markus Steinlein 4 years ago
parent ec89bd2871
commit b2bbcf6b1e

@ -26,6 +26,7 @@ def generate_feed(pages):
fe.author(name=p.meta['author']) fe.author(name=p.meta['author'])
fe.description(p.meta['description']) fe.description(p.meta['description'])
fe.link(href='https://fdgl.rocks/' + p.path + '.html') fe.link(href='https://fdgl.rocks/' + p.path + '.html')
fe.content(p.html)
response = make_response(fg.rss_str()) response = make_response(fg.rss_str())
response.headers.set('Content-Type', 'application/rss+xml') response.headers.set('Content-Type', 'application/rss+xml')

Loading…
Cancel
Save