how about that?
This commit is contained in:
parent
785e4c4cf2
commit
4490a7d5ed
|
@ -119,7 +119,7 @@ for dirname, subdirlist, mdlist in os.walk('.'):
|
|||
with open(gmi_subpath+"/"+gmifile, 'w') as gmi:
|
||||
gmi.write(gmitext)
|
||||
|
||||
posts_meta.sort(key=lambda p: datetime.strptime(p["date"], "%Y-%m-%d"), reverse=True)
|
||||
posts_meta.sort(key=lambda p: p["date"], reverse=True)
|
||||
|
||||
with open(tpl_path+"/index.tpl", 'r') as tpl:
|
||||
template = Template(tpl.read())
|
||||
|
|
Loading…
Reference in New Issue