From af6a577b156f52c15308262ab47af10c299d847a Mon Sep 17 00:00:00 2001 From: Chase Sterling Date: Fri, 11 Dec 2015 00:25:43 -0500 Subject: [PATCH] Fix rebuild_index to use full path of page when indexing. fix #88 --- realms/modules/search/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/realms/modules/search/commands.py b/realms/modules/search/commands.py index a35cba3..5d95bcb 100644 --- a/realms/modules/search/commands.py +++ b/realms/modules/search/commands.py @@ -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'],