diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-02-17 15:07:56 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-02-17 15:07:56 +0100 |
commit | 067bdcda2db081a6df55913b8502a94f1f8251ac (patch) | |
tree | 0a80f42960997a72933c670b6b58e15932ab4ae5 /lib/output/base.js | |
parent | 3bc1934966bef98c69e6dc6d237364473202461f (diff) | |
download | gitbook-067bdcda2db081a6df55913b8502a94f1f8251ac.zip gitbook-067bdcda2db081a6df55913b8502a94f1f8251ac.tar.gz gitbook-067bdcda2db081a6df55913b8502a94f1f8251ac.tar.bz2 |
Add "config" to templating context
Diffstat (limited to 'lib/output/base.js')
-rw-r--r-- | lib/output/base.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/output/base.js b/lib/output/base.js index ad2d90d..638ee25 100644 --- a/lib/output/base.js +++ b/lib/output/base.js @@ -161,7 +161,8 @@ Output.prototype.getPageContext = function(page) { page.getContext(), gitbook.getContext(), this.book.getContext(), - this.book.summary.getContext() + this.book.summary.getContext(), + this.book.config.getContext() ); }; |