Skip to content
Permalink
Browse files

fix #1270

  • Loading branch information
ralsina committed Aug 19, 2014
1 parent 6fcb587 commit e3405de3fd39d0129b85ee76c43c03290ac9398a
Showing with 4 additions and 2 deletions.
  1. +1 −0 CHANGES.txt
  2. +3 −2 nikola/nikola.py
@@ -18,6 +18,7 @@ Features
Bugfixes
--------

* Make site.posts_per_file cover all languages (Issue #1270)
* rebuild posts when metadata changes (Issue #1319)
* Allow + in slugs (Issue #1344)
* fix error message when tags that are too similar are found (Issues #1343, #1344)
@@ -1231,8 +1231,9 @@ def scan_posts(self, really=False):
self.posts_per_category[post.meta('category')].append(post)
else:
self.pages.append(post)
self.post_per_file[post.destination_path(lang=lang)] = post
self.post_per_file[post.destination_path(lang=lang, extension=post.source_ext())] = post
for lang in self.config["TRANSLATIONS"].keys():
self.post_per_file[post.destination_path(lang=lang)] = post
self.post_per_file[post.destination_path(lang=lang, extension=post.source_ext())] = post

# Sort everything.
self.timeline.sort(key=lambda p: p.date)

0 comments on commit e3405de

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