Skip to content
Permalink
Browse files

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 ff8e04b02ffca33847433e81539e28d14aec01c6
Showing with 9 additions and 1 deletion.
  1. +3 −0 CHANGES.txt
  2. +6 −1 nikola/plugins/task/page_index.py
@@ -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``,
@@ -13,6 +14,8 @@ Features
Bugfixes
--------

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

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

@@ -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."""

0 comments on commit ff8e04b

Please sign in to comment.
You can’t perform that action at this time.