Skip to content
Permalink
Browse files
Fix missing context variable
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Feb 11, 2016
1 parent 6a6c849 commit bbbad16ef92130cff6db93d3549192dd88f0ea32
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/plugins/task/indexes.py
@@ -143,7 +143,7 @@ def cat_path(i, displayed_i, num_pages, force_addition, extension=None):
context["pagekind"] = ["section_page"]
context["description"] = self.site.config['POSTS_SECTION_DESCRIPTIONS'](lang)[section_slug] if section_slug in self.site.config['POSTS_SECTION_DESCRIPTIONS'](lang) else ""

if kw["posts_section_are_indexes"]:
if self.site.config["POSTS_SECTION_ARE_INDEXES"]:
context["pagekind"].append("index")
posts_section_title = self.site.config['POSTS_SECTION_TITLE'](lang)

0 comments on commit bbbad16

Please sign in to comment.