Merge pull request #89 from gazpachoking/fix_index
Fix rebuild_index to use full path of page when indexing.
This commit is contained in:
commit
853630646e
|
@ -28,7 +28,7 @@ def rebuild_index():
|
||||||
if not page:
|
if not page:
|
||||||
# Some non-markdown files may have issues
|
# Some non-markdown files may have issues
|
||||||
continue
|
continue
|
||||||
name = filename_to_cname(page['name'])
|
name = filename_to_cname(page['path'])
|
||||||
# TODO add email?
|
# TODO add email?
|
||||||
body = dict(name=name,
|
body = dict(name=name,
|
||||||
content=page['data'],
|
content=page['data'],
|
||||||
|
|
Loading…
Reference in a new issue