summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2016-02-24 14:10:37 +0100
committerSamy Pessé <samypesse@gmail.com>2016-02-24 14:10:37 +0100
commit255a78a534d4d1f9f3f223b717d31c43008e095d (patch)
tree4ca1f881fd3bd261cb9adb3c5290ce3fa4da500d
parent6faa469bf58143db0ee95b25244b8e4b91e757a6 (diff)
downloadgitbook-255a78a534d4d1f9f3f223b717d31c43008e095d.zip
gitbook-255a78a534d4d1f9f3f223b717d31c43008e095d.tar.gz
gitbook-255a78a534d4d1f9f3f223b717d31c43008e095d.tar.bz2
Fix path option for template error
-rw-r--r--lib/page/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/page/index.js b/lib/page/index.js
index b512ff4..11cbb57 100644
--- a/lib/page/index.js
+++ b/lib/page/index.js
@@ -152,7 +152,7 @@ Page.prototype.toHTML = function(output) {
// Render template
.then(function() {
return output.template.render(that.content, that.getContext(), {
- file: that.path
+ path: that.path
})
.then(that.update);
})