Skip to content
Permalink
Browse files

Avoids 'nikola build' to always run the render_posts:timeline_changes…

… task.
  • Loading branch information
felixfontein committed May 23, 2015
1 parent 0fdb917 commit b7419f78c2332ce0336f54666b84d61a68df0d15
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/nikola.py
@@ -1469,7 +1469,7 @@ def scan_posts(self, really=False, ignore_quit=False, quiet=False):
# Sort everything.

for thing in self.timeline, self.posts, self.all_posts, self.pages:
thing.sort(key=lambda p: p.date)
thing.sort(key=lambda p: (p.date, p.source_path))
thing.reverse()
self._sort_category_hierarchy()

0 comments on commit b7419f7

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