summaryrefslogtreecommitdiffstats
path: root/lib/generators/website.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-03-28 15:54:34 +0100
committerSamy Pessé <samypesse@gmail.com>2015-03-28 15:54:34 +0100
commit3065742b73ae6ad0f8aa75eb0eafcdd8e395a108 (patch)
treece9a56d50bff13f2187b643df3a72a667ebf12a4 /lib/generators/website.js
parentffd69ad1f2f869796f10c425e67680fd7f223ff5 (diff)
downloadgitbook-3065742b73ae6ad0f8aa75eb0eafcdd8e395a108.zip
gitbook-3065742b73ae6ad0f8aa75eb0eafcdd8e395a108.tar.gz
gitbook-3065742b73ae6ad0f8aa75eb0eafcdd8e395a108.tar.bz2
Separate book.contentLink and book.contentPath
Diffstat (limited to 'lib/generators/website.js')
-rw-r--r--lib/generators/website.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/generators/website.js b/lib/generators/website.js
index d1e92a0..9405a1c 100644
--- a/lib/generators/website.js
+++ b/lib/generators/website.js
@@ -136,7 +136,7 @@ Generator.prototype.convertFile = function(input) {
}
})
.then(function(page) {
- var relativeOutput = that.book.contentLink(page.path);
+ var relativeOutput = that.book.contentPath(page.path);
var output = path.join(that.options.output, relativeOutput);
var basePath = path.relative(path.dirname(output), that.options.output) || ".";