Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Avoids 'nikola build' to always run the render_posts:timeline_changes…
… task.
  • Loading branch information
felixfontein committed May 23, 2015
1 parent 0fdb917 commit b7419f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/nikola.py
Expand Up @@ -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()

Expand Down

0 comments on commit b7419f7

Please sign in to comment.