Permalink
Browse files

Also recompiling indices when DEMOTE_HEADERS changes, and not only po…

…sts and pages.
  • Loading branch information...
felixfontein committed Jan 20, 2015
1 parent 0d40329 commit ffd75d5124f848d3b74f97256441f3a369b3f384
Showing with 1 addition and 0 deletions.
  1. +1 −0 nikola/nikola.py
View
@@ -1530,6 +1530,7 @@ def generic_index_renderer(self, lang, posts, indexes_title, template_name, cont
kw["indexes_pages_main"] = self.config['INDEXES_PAGES_MAIN']
kw["indexes_static"] = self.config['INDEXES_STATIC']
kw['indexes_prety_page_url'] = self.config["INDEXES_PRETTY_PAGE_URL"]
kw['demote_headers'] = self.config['DEMOTE_HEADERS']
# Split in smaller lists
lists = []

0 comments on commit ffd75d5

Please sign in to comment.