diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-01-23 16:17:04 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-01-23 16:17:04 +0100 |
commit | a964e197155e9ccdb17d3dab73d8857060d4ea65 (patch) | |
tree | a554139b19aff557acaea82060ae94c988b6b304 | |
parent | c47166d70099ffa8a4f5efc0c6e123d06fa76acd (diff) | |
download | gitbook-a964e197155e9ccdb17d3dab73d8857060d4ea65.zip gitbook-a964e197155e9ccdb17d3dab73d8857060d4ea65.tar.gz gitbook-a964e197155e9ccdb17d3dab73d8857060d4ea65.tar.bz2 |
Fix paths indexed in search index
-rw-r--r-- | lib/book.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/book.js b/lib/book.js index 4a60acf..797783b 100644 --- a/lib/book.js +++ b/lib/book.js @@ -433,7 +433,7 @@ Book.prototype.indexPage = function(page) { if (!nav) return; this.searchIndex.add({ - url: page.path, + url: this.contentLink(page.path), title: nav.title, body: pageUtil.extractText(page.sections), }); |