Skip to content

Commit

Permalink
fix #1360
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jan 18, 2015
1 parent 0064895 commit ead0f05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/plugins/task/archive.py
Expand Up @@ -133,7 +133,7 @@ def gen_tasks(self):
for year, posts in archdata.items():
# Filter untranslated posts (Issue #1360)
if not kw["show_untranslated_posts"]:
archdata[year] = [p for p in posts if lang in p.translated_to]
posts = [p for p in posts if lang in p.translated_to]

# Add archive per year or total archive
if year:
Expand Down

0 comments on commit ead0f05

Please sign in to comment.