Fix rebuild_index to use full path of page when indexing. fix #88

This commit is contained in:
Chase Sterling 2015-12-11 00:25:43 -05:00
parent e565a0a77a
commit af6a577b15

View file

@ -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'],