Skip to content
Permalink
Browse files
Simplifying.
  • Loading branch information
felixfontein committed Apr 15, 2018
1 parent 58388b3 commit 0f3f219d725441f8ffcfb23ec6ea04a13a452621
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/plugins/task/sections.py
@@ -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):

0 comments on commit 0f3f219

Please sign in to comment.