Skip to content

Commit 76fbc11

Browse files
committedMay 23, 2015
Merge pull request #1746 from getnikola/fix-timeline-infinite-update
Avoid infinite rebuild of render_posts:timeline_changes.
2 parents 0fdb917 + b7419f7 commit 76fbc11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎nikola/nikola.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1469,7 +1469,7 @@ def scan_posts(self, really=False, ignore_quit=False, quiet=False):
14691469
# Sort everything.
14701470

14711471
for thing in self.timeline, self.posts, self.all_posts, self.pages:
1472-
thing.sort(key=lambda p: p.date)
1472+
thing.sort(key=lambda p: (p.date, p.source_path))
14731473
thing.reverse()
14741474
self._sort_category_hierarchy()
14751475

0 commit comments

Comments
 (0)