Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 ffd75d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nikola/nikola.py
Expand Up @@ -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 = []
Expand Down

0 comments on commit ffd75d5

Please sign in to comment.