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:
|
||||
posts_prop_index[prop][slug] = {"name": item, "posts": [post]}
|
||||
else:
|
||||
slug = slugify(post['prop'])
|
||||
slug = slugify(post[prop])
|
||||
if slug in posts_prop_index[prop]:
|
||||
posts_prop_index[prop][slug]["posts"].append(post)
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue