Browse Source

sort last entries

Oz N Tiram 9 năm trước cách đây
mục cha
commit
2ef24f7d2f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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")