Skip to content
Permalink
Browse files
Forgot two places (h/t @Kwpolska).
  • Loading branch information
felixfontein committed Apr 15, 2018
1 parent 5a1ce3a commit 849ce2e33ba4c9cbb8dbfcc648c09e9e23ecb600
Showing with 2 additions and 2 deletions.
  1. +2 −2 nikola/plugins/misc/taxonomies_classifier.py
@@ -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':

0 comments on commit 849ce2e

Please sign in to comment.