Fix rebuild_index to use full path of page when indexing. fix #88
This commit is contained in:
parent
e565a0a77a
commit
af6a577b15
|
@ -28,7 +28,7 @@ def rebuild_index():
|
|||
if not page:
|
||||
# Some non-markdown files may have issues
|
||||
continue
|
||||
name = filename_to_cname(page['name'])
|
||||
name = filename_to_cname(page['path'])
|
||||
# TODO add email?
|
||||
body = dict(name=name,
|
||||
content=page['data'],
|
||||
|
|
Loading…
Reference in a new issue