Skip to content

Commit

Permalink
Fix missing context variable
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Feb 11, 2016
1 parent 6a6c849 commit bbbad16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/plugins/task/indexes.py
Expand Up @@ -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)

Expand Down

0 comments on commit bbbad16

Please sign in to comment.