let's try something else
This commit is contained in:
@@ -88,7 +88,7 @@ for dirname, subdirlist, mdlist in os.walk('.'):
|
|||||||
else:
|
else:
|
||||||
posts_prop_index[prop][slug] = {"name": item, "posts": [post]}
|
posts_prop_index[prop][slug] = {"name": item, "posts": [post]}
|
||||||
else:
|
else:
|
||||||
slug = slugify(post['prop'])
|
slug = slugify(post[prop])
|
||||||
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)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user