diff options
author | Samy Pesse <samypesse@gmail.com> | 2016-04-30 12:14:43 +0200 |
---|---|---|
committer | Samy Pesse <samypesse@gmail.com> | 2016-04-30 12:14:43 +0200 |
commit | 5bad08b9a0756c46eebf6d8460c959ec388d7e74 (patch) | |
tree | 17f6e11822b453795c2a1cff5a5fddf196929a14 /lib/output/website/onPage.js | |
parent | 310691bca2459112a586da97573e9a806b673941 (diff) | |
download | gitbook-5bad08b9a0756c46eebf6d8460c959ec388d7e74.zip gitbook-5bad08b9a0756c46eebf6d8460c959ec388d7e74.tar.gz gitbook-5bad08b9a0756c46eebf6d8460c959ec388d7e74.tar.bz2 |
Add this.generator as deprecated
Diffstat (limited to 'lib/output/website/onPage.js')
-rw-r--r-- | lib/output/website/onPage.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/output/website/onPage.js b/lib/output/website/onPage.js index dcdd95a..64b4e04 100644 --- a/lib/output/website/onPage.js +++ b/lib/output/website/onPage.js @@ -56,6 +56,9 @@ function onPage(output, page) { } }; + // We should probabbly move it to "template" or a "site" namespace + context.basePath = basePath; + // Render the theme return Templating.renderFile(engine, prefix + '/page.html', context) |