fix weird stuff
This commit is contained in:
parent
defd77ece6
commit
c70307e999
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue