summaryrefslogtreecommitdiffstats
path: root/lib/output/website.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2016-03-09 15:50:38 +0100
committerSamy Pessé <samypesse@gmail.com>2016-03-09 15:50:38 +0100
commitc499a8a13a3059e3953727866beb7c986e46dd78 (patch)
tree173ee93cb957446855d8519335ad5dba0f7cc332 /lib/output/website.js
parent64a6de751d0f2bd8910ce36e2e8aa4049316e2c7 (diff)
downloadgitbook-c499a8a13a3059e3953727866beb7c986e46dd78.zip
gitbook-c499a8a13a3059e3953727866beb7c986e46dd78.tar.gz
gitbook-c499a8a13a3059e3953727866beb7c986e46dd78.tar.bz2
Add back gitbook.generator property as deprecated
Diffstat (limited to 'lib/output/website.js')
-rw-r--r--lib/output/website.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/output/website.js b/lib/output/website.js
index ae3d7af..e298b69 100644
--- a/lib/output/website.js
+++ b/lib/output/website.js
@@ -190,7 +190,7 @@ WebsiteOutput.prototype.onPage = function(page) {
// Render the page template with the same context as the json output
.then(function() {
- return that.render('page', page.getContext());
+ return that.render('page', page.getOutputContext(that));
})
// Write the HTML file