Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Document #1686
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Aug 31, 2015
1 parent 9a07634 commit d9ecd24
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nikola/plugins/task/tags.py
Expand Up @@ -334,10 +334,11 @@ def tag_page_as_list(self, tag, lang, post_list, kw, is_category):
yield task

if self.site.config['GENERATE_ATOM']:
self.atom_feed_list(kind, lang, post_list, context)
self.atom_feed_list(kind, tag, lang, post_list, context, kw)


def atom_feed_list(self, kind, lang, post_list, context):
def atom_feed_list(self, kind, tag, lang, post_list, context, kw):
"""Generate atom feeds for tag lists."""
if kind == 'tag':
context['feedlink'] = self.site.abs_link(self.site.path('tag_atom', tag, lang))
feed_path = os.path.join(kw['output_folder'], self.site.path('tag_atom', tag, lang))
Expand Down

0 comments on commit d9ecd24

Please sign in to comment.