crowd facepalm

This commit is contained in:
Guy Godfroy 2020-12-08 16:56:42 +01:00
parent 225e4f506c
commit 9800b08204
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ for page_dict in config.custom_pages:
extention = config.gmi_extension
filename = basename + extension
filepath = os.path.join(rel_path, filename)
with open(tpm_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())
text = template.render(posts=posts)
with open(gmi_path + filepath, "w") as gmi: