Skip to content

Commit

Permalink
Fixing RSS_PATH behavior.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein authored and Kwpolska committed Apr 15, 2018
1 parent bd44326 commit bb097b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGES.txt
@@ -1,6 +1,8 @@
New in v7-maintenance
=====================

* Fixing behavior of RSS_PATH to do what the documentation
says it does (Issue #3024)
* Use documented dateutil API for time zone list (Issue #3006)

New in v7.8.14
Expand Down
2 changes: 1 addition & 1 deletion nikola/plugins/task/indexes.py
Expand Up @@ -93,7 +93,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 bb097b2

Please sign in to comment.