asshole me
This commit is contained in:
parent
8fd9872bf7
commit
88272fe95d
|
@ -89,7 +89,7 @@ for dirname, subdirlist, mdlist in os.walk('.'):
|
||||||
else:
|
else:
|
||||||
posts_prop_index[prop][slug] = {"name": item["name"], "posts": [post]}
|
posts_prop_index[prop][slug] = {"name": item["name"], "posts": [post]}
|
||||||
else:
|
else:
|
||||||
post[prop] = {"name": prop_raw, "slug": slugify(prop-raw)}
|
post[prop] = {"name": prop_raw, "slug": slugify(prop_raw)}
|
||||||
slug = post[prop]["slug"]
|
slug = post[prop]["slug"]
|
||||||
if slug in posts_prop_index[prop]:
|
if slug in posts_prop_index[prop]:
|
||||||
posts_prop_index[prop][slug]["posts"].append(post)
|
posts_prop_index[prop][slug]["posts"].append(post)
|
||||||
|
|
Loading…
Reference in New Issue