diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-02-18 14:47:53 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-02-18 14:47:53 +0100 |
commit | 709b388dfcc641fab25d297618b6ffe49f5cd677 (patch) | |
tree | 661973ac5d7de4bb32db33648ecb23e9bba6b00e /lib/output/website.js | |
parent | 6e83240233e6168aa6567eb6fcac62508fe7fd0e (diff) | |
download | gitbook-709b388dfcc641fab25d297618b6ffe49f5cd677.zip gitbook-709b388dfcc641fab25d297618b6ffe49f5cd677.tar.gz gitbook-709b388dfcc641fab25d297618b6ffe49f5cd677.tar.bz2 |
Fix path calcul to be coherant
Diffstat (limited to 'lib/output/website.js')
-rw-r--r-- | lib/output/website.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/output/website.js b/lib/output/website.js index b595897..d856229 100644 --- a/lib/output/website.js +++ b/lib/output/website.js @@ -87,7 +87,7 @@ WebsiteOutput.prototype.prepare = function() { // Transform a '.md' into a '.html' (README -> index) that.env.addFilter('contentURL', function(s) { - return that.onRelativeLink(null, s); + return that.outputUrl(s); }); // Relase path to an asset |