silly me
This commit is contained in:
parent
100005d00c
commit
17e2847b98
|
@ -155,7 +155,7 @@ for prop_dict in config.index_props:
|
|||
template = Template(tpl.read())
|
||||
for item in posts_prop_index[prop]:
|
||||
text = template.render(prop_item=posts_prop_index[prop][item])
|
||||
with open(meta_path+"/"+prop_dict.get("item_dir", prop)+"/"+item+".gmi") as gmi:
|
||||
with open(meta_path+"/"+prop_dict.get("item_dir", prop)+"/"+item+".gmi", "w") as gmi:
|
||||
gmi.write(text)
|
||||
|
||||
# Generate posts list page
|
||||
|
|
Loading…
Reference in New Issue