Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix #2646 — don’t crash if PAGE_INDEX is True
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jan 24, 2017
1 parent e9297b2 commit ff8e04b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGES.txt
Expand Up @@ -3,6 +3,7 @@ New in master

Features
--------

* Add ``META_GENERATOR_TAG`` option in conf.py allowing the meta generator
to be disabled if needed. (Issue #2628)
* Add ``YUI_COMPRESSOR_EXECUTABLE``, ``CLOSURE_COMPILER_EXECUTABLE``,
Expand All @@ -13,6 +14,8 @@ Features
Bugfixes
--------

* Fix crash if ``PAGE_INDEX`` is enabled (Issue #2646)

New in v7.8.3
=============

Expand Down
7 changes: 6 additions & 1 deletion nikola/plugins/task/page_index.py
Expand Up @@ -50,7 +50,12 @@ class PageIndex(Taxonomy):
apply_to_pages = True
omit_empty_classifications = True
also_create_classifications_from_other_languages = False
path_handler_docstrings = {}
path_handler_docstrings = {
'page_index_folder_index': None,
'page_index_folder': None,
'page_index_folder_atom': None,
'page_index_folder_rss': None,
}

def is_enabled(self, lang=None):
"""Return True if this taxonomy is enabled, or False otherwise."""
Expand Down

0 comments on commit ff8e04b

Please sign in to comment.