From 662c46b0f0140c22406690ce8893d8e1e138cb82 Mon Sep 17 00:00:00 2001 From: Guy Godfroy Date: Thu, 3 Dec 2020 20:44:02 +0100 Subject: [PATCH] normally that should work --- geminer.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/geminer.py b/geminer.py index 5c9eef0..63bf76c 100755 --- a/geminer.py +++ b/geminer.py @@ -125,3 +125,6 @@ with open(tpl_path+"/index.tpl", 'r') as tpl: template = Template(tpl.read()) indextext = template.render(posts_meta=posts_meta) + +with open(meta_path+"/index.gmi", 'w') as index: + index.write(indextext)