Merge pull request #89 from gazpachoking/fix_index

Fix rebuild_index to use full path of page when indexing.
This commit is contained in:
Matthew Scragg 2015-12-11 10:15:08 -06:00
commit 853630646e

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