From ddca1befb5c2f4330dfa654a0d542cc1726debba Mon Sep 17 00:00:00 2001 From: Guy Godfroy Date: Thu, 3 Dec 2020 22:13:29 +0100 Subject: [PATCH] change posts index path --- geminer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geminer.py b/geminer.py index bf86268..c5eb6bd 100755 --- a/geminer.py +++ b/geminer.py @@ -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)