thought I fixed that
This commit is contained in:
parent
26d35d80c6
commit
0e98e5b6d2
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue