Skip to content

Commit

Permalink
Forgot something.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Nov 27, 2016
1 parent 0bb4a84 commit 6e9c574
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nikola/plugins/task/taxonomies.py
Expand Up @@ -159,7 +159,7 @@ def page_path(i, displayed_i, num_pages, force_addition, extension=None):
context = copy(context)
if "pagekind" not in context:
context["pagekind"] = ["index", "tag_page"]
template_name = taxonomy.template_for_list_of_one_classification
template_name = taxonomy.template_for_single_list

yield self.site.generic_index_renderer(lang, filtered_posts, context['title'], template_name, context, kw, str(self.name), page_link, page_path)

Expand All @@ -184,7 +184,7 @@ def _generate_classification_page_as_list_atom(self, taxonomy, classification, f
def _generate_classification_page_as_list(self, taxonomy, classification, filtered_posts, context, kw, lang):
"""Render a single flat link list with this classification's posts."""
kind = taxonomy.classification_name
template_name = taxonomy.template_for_list_of_one_classification
template_name = taxonomy.template_for_single_list
output_name = os.path.join(self.site.config['OUTPUT_FOLDER'], self.site.path(kind, classification, lang))
context["lang"] = lang
context["posts"] = filtered_posts
Expand Down

0 comments on commit 6e9c574

Please sign in to comment.