[enh] sort galleries

This commit is contained in:
Laurent Peuch 2015-12-08 08:07:24 +01:00
parent a3f7f47900
commit c8407e4e2a

View File

@ -53,6 +53,8 @@ def main():
"date": gallery_date,
})
front_page_galleries_cover = sorted(front_page_galleries_cover, key=lambda x: x["date"])
if not os.path.exists("build"):
os.makedirs("build")