Merge pull request #2240 from mosra/atom-feed-subtitle

Make use of SITESUBTITLE setting also in Atom feeds
This commit is contained in:
Justin Mayer 2018-03-23 13:34:37 +01:00 committed by GitHub
commit 36f00b3afd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
52 changed files with 53 additions and 51 deletions

View file

@ -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):