浏览代码

sort last entries

Oz N Tiram 9 年之前
父节点
当前提交
2ef24f7d2f
共有 1 个文件被更改,包括 1 次插入1 次删除
  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")