Skip to content
Browse files
Fixing section RSS path.
  • Loading branch information
felixfontein committed Dec 2, 2016
1 parent dbf252a commit 91b1f055997f0f3ff72e0ba399b99995bff79591
Showing 1 changed file with 5 additions and 1 deletion.
@@ -81,7 +81,11 @@ def get_classification_friendly_name(self, section, lang, only_last_component=Fa

def get_path(self, section, lang, type='page'):
"""A path handler for the given classification."""
return [_f for _f in [section] if _f], 'always'
result = [_f for _f in [section] if _f]
if type == 'rss':
return result + ['rss'], 'never'
return result, 'always'

def provide_context_and_uptodate(self, section, lang, node=None):
"""Provide data for the context and the uptodate list for the list of the given classifiation."""

0 comments on commit 91b1f05

Please sign in to comment.