Skip to content
Permalink
Browse files

Fixing typo.

  • Loading branch information
felixfontein committed Apr 24, 2017
1 parent 3a811b8 commit 5a91fcb826572e9c7f8b85bbd03353d5e9368ec1
Showing with 3 additions and 1 deletion.
  1. +2 −0 CHANGES.txt
  2. +1 −1 nikola/plugins/task/archive.py
@@ -24,6 +24,8 @@ Features
Bugfixes
--------

* No longer creates empty subarchive pages, and no longer create broken
archive navigation links on day level (Issue #2734)
* Fixes post scanner plugin order (Issue #2720)
* Rename ``POSTS_SECTION_ARE_INDEXES`` to ``POSTS_SECTIONS_ARE_INDEXES``
* Make date ranges work in shortcode-based post lists (Issue #2690)
@@ -242,4 +242,4 @@ def postprocess_posts_per_classification(self, posts_per_archive_per_language, f

def should_generate_classification_page(self, classification, post_list, lang):
"""Only generates list of posts for classification if this function returns True."""
return classification = '' or len(post_list) > 0
return classification == '' or len(post_list) > 0

0 comments on commit 5a91fcb

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