Browse Source

sort last entries

Oz N Tiram 9 years ago
parent
commit
2ef24f7d2f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      blogit/blogit.py

+ 1 - 1
blogit/blogit.py

@@ -407,7 +407,7 @@ def build(config):
     # to the index using BeautifulSoup
     # update index
     print("updating index")
-    update_index(_get_last_entries(DB))
+    update_index(_sort_entries(_get_last_entries(DB)))
 
     # update archive
     print("updating archive")