change posts index path
This commit is contained in:
parent
25614b72e0
commit
ddca1befb5
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue