Skip to content

Commit 5a91fcb

Browse files
committedApr 24, 2017
Fixing typo.
1 parent 3a811b8 commit 5a91fcb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
 

‎CHANGES.txt

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ Features
2424
Bugfixes
2525
--------
2626

27+
* No longer creates empty subarchive pages, and no longer create broken
28+
archive navigation links on day level (Issue #2734)
2729
* Fixes post scanner plugin order (Issue #2720)
2830
* Rename ``POSTS_SECTION_ARE_INDEXES`` to ``POSTS_SECTIONS_ARE_INDEXES``
2931
* Make date ranges work in shortcode-based post lists (Issue #2690)

‎nikola/plugins/task/archive.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,4 +242,4 @@ def postprocess_posts_per_classification(self, posts_per_archive_per_language, f
242242

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

0 commit comments

Comments
 (0)
Please sign in to comment.