thought I fixed that

This commit is contained in:
2020-12-08 17:06:25 +01:00
parent 26d35d80c6
commit 0e98e5b6d2

View File

@@ -158,7 +158,7 @@ for page_dict in config.custom_pages:
with open(tpl_path + "/" + page_dict.get("tpl", basename) + ".tpl", "r") as tpl: with open(tpl_path + "/" + page_dict.get("tpl", basename) + ".tpl", "r") as tpl:
template = Template(tpl.read()) template = Template(tpl.read())
text = template.render(posts=posts) text = template.render(posts=posts)
with open(gmi_path + filepath, "w") as gmi: with open(gmi_path + "/" + filepath, "w") as gmi:
gmi.write(text) gmi.write(text)
# Generate custom meta pages # Generate custom meta pages