فهرست منبع

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")