Skip to content
Permalink
Browse files

Document #1686

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Aug 31, 2015
1 parent 9a07634 commit d9ecd242105b1eda3273f82383064c1e5bef6e45
Showing with 3 additions and 2 deletions.
  1. +3 −2 nikola/plugins/task/tags.py
@@ -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))

0 comments on commit d9ecd24

Please sign in to comment.
You can’t perform that action at this time.