change posts index path

This commit is contained in:
Guy Godfroy 2020-12-03 22:13:29 +01:00
parent 25614b72e0
commit ddca1befb5
1 changed files with 1 additions and 1 deletions

View File

@ -134,5 +134,5 @@ with open(meta_path+"/index.gmi", 'w') as index:
with open(tpl_path+"/posts_list.tpl", 'r') as tpl:
template = Template(tpl.read())
indextext = template.render(posts_meta=posts_meta)
with open(meta_path+"/posts/index.gmi", 'w') as index:
with open(meta_path+"/posts.gmi", 'w') as index:
index.write(indextext)