mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge pull request #2240 from mosra/atom-feed-subtitle
Make use of SITESUBTITLE setting also in Atom feeds
This commit is contained in:
commit
36f00b3afd
52 changed files with 53 additions and 51 deletions
|
|
@ -40,7 +40,8 @@ class Writer(object):
|
|||
title=Markup(feed_title).striptags(),
|
||||
link=(self.site_url + '/'),
|
||||
feed_url=self.feed_url,
|
||||
description=context.get('SITESUBTITLE', ''))
|
||||
description=context.get('SITESUBTITLE', ''),
|
||||
subtitle=context.get('SITESUBTITLE', None))
|
||||
return feed
|
||||
|
||||
def _add_item_to_the_feed(self, feed, item):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue