Skip to content

Commit

Permalink
Forgot two places (h/t @Kwpolska).
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Apr 15, 2018
1 parent 5a1ce3a commit 849ce2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nikola/plugins/misc/taxonomies_classifier.py
Expand Up @@ -235,12 +235,12 @@ def _postprocess_path(self, path, lang, append_index='auto', dest_type='page', p
if dest_type == 'feed':
force_extension = self.site.config['ATOM_EXTENSION']
elif dest_type == 'rss':
force_extension = '.xml'
force_extension = self.site.config['RSS_EXTENSION']
# Determine how to extend path
path = [_f for _f in path if _f]
if force_extension is not None:
if len(path) == 0 and dest_type == 'rss':
path = ['rss']
path = [self.site.config['RSS_FILENAME_BASE'](lang)]
elif len(path) == 0 or append_index == 'always':
path = path + [os.path.splitext(self.site.config['INDEX_FILE'])[0]]
elif len(path) > 0 and append_index == 'never':
Expand Down

0 comments on commit 849ce2e

Please sign in to comment.