let's try something else
This commit is contained in:
parent
6c6cd36d2f
commit
02b5610a5a
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue