fix weird stuff

This commit is contained in:
Guy Godfroy 2020-12-08 19:50:44 +01:00
parent defd77ece6
commit c70307e999
1 changed files with 1 additions and 0 deletions

View File

@ -159,6 +159,7 @@ for page_dict in config.custom_pages:
template = Template(tpl.read())
template.globals['now'] = datetime.now
text = template.render(posts=posts)
text = text.replace("\r\n", "\n")
with open(gmi_path + "/" + filepath, "w") as gmi:
gmi.write(text)