diff --git a/geminer.py b/geminer.py index 257da4b..49e9ed3 100755 --- a/geminer.py +++ b/geminer.py @@ -158,7 +158,7 @@ for page_dict in config.custom_pages: with open(tpl_path + "/" + page_dict.get("tpl", basename) + ".tpl", "r") as tpl: template = Template(tpl.read()) text = template.render(posts=posts) - with open(gmi_path + filepath, "w") as gmi: + with open(gmi_path + "/" + filepath, "w") as gmi: gmi.write(text) # Generate custom meta pages