summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-html/lib/summary.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gitbook-html/lib/summary.js')
-rwxr-xr-xpackages/gitbook-html/lib/summary.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/gitbook-html/lib/summary.js b/packages/gitbook-html/lib/summary.js
index 132dfdd..8d716d6 100755
--- a/packages/gitbook-html/lib/summary.js
+++ b/packages/gitbook-html/lib/summary.js
@@ -30,7 +30,7 @@ function parseList($ul, $) {
var $a = $li.find(SELECTOR_LINK);
if ($a.length > 0) {
article.title = $a.first().text();
- article.path = $a.attr('href').replace(/\\/g, '/').replace(/^\/+/, '')
+ article.ref = $a.attr('href').replace(/\\/g, '/').replace(/^\/+/, '')
}
// Sub articles