Skip to content

Commit

Permalink
Simplifying.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Apr 15, 2018
1 parent 58388b3 commit 0f3f219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/plugins/task/sections.py
Expand Up @@ -100,7 +100,7 @@ def get_path(self, section, lang, dest_type='page'):
"""Return a path for the given classification."""
result = [_f for _f in [self.site.config['SECTION_PATH'](lang), section] if _f]
if dest_type == 'rss':
return result + [self.site.config['RSS_FILENAME_BASE'](lang) + self.site.config['RSS_EXTENSION']], 'never'
return result + [self.site.config['RSS_FILENAME_BASE'](lang)], 'auto'
return result, 'always'

def provide_context_and_uptodate(self, classification, lang, node=None):
Expand Down

0 comments on commit 0f3f219

Please sign in to comment.