Explorar el Código

sort last entries

Oz N Tiram hace 9 años
padre
commit
2ef24f7d2f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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")