Skip to content

Commit

Permalink
Fixing RSS_PATH behavior.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Apr 15, 2018
1 parent 0e8c7a6 commit 0655948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/plugins/task/indexes.py
Expand Up @@ -91,7 +91,7 @@ def get_classification_friendly_name(self, classification, lang, only_last_compo
def get_path(self, classification, lang, dest_type='page'):
"""Return a path for the given classification."""
if dest_type == 'rss':
return [self.site.config['RSS_PATH'](lang)], True
return [self.site.config['RSS_PATH'](lang), 'rss'], 'auto'
# 'page' (index) or 'feed' (Atom)
page_number = None
if dest_type == 'page':
Expand Down

0 comments on commit 0655948

Please sign in to comment.