[enh] sort galleries
This commit is contained in:
parent
a3f7f47900
commit
c8407e4e2a
@ -53,6 +53,8 @@ def main():
|
|||||||
"date": gallery_date,
|
"date": gallery_date,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
front_page_galleries_cover = sorted(front_page_galleries_cover, key=lambda x: x["date"])
|
||||||
|
|
||||||
if not os.path.exists("build"):
|
if not os.path.exists("build"):
|
||||||
os.makedirs("build")
|
os.makedirs("build")
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user