Skip to content
Permalink
Browse files

Forgot something.

  • Loading branch information
felixfontein committed Nov 27, 2016
1 parent 0bb4a84 commit 6e9c5740830f7eed07a7aca0df0fd5f4e71dbfae
Showing with 2 additions and 2 deletions.
  1. +2 −2 nikola/plugins/task/taxonomies.py
@@ -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)

@@ -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

0 comments on commit 6e9c574

Please sign in to comment.
You can’t perform that action at this time.