diff --git a/lib/template.js b/lib/template.js index 3a4985c44..bc3e53e82 100644 --- a/lib/template.js +++ b/lib/template.js @@ -316,6 +316,9 @@ TemplateEngine.prototype.renderString = function(content, context, options) { // Variables from book.json book: this.book.options.variables, + // Complete book.json + config: this.book.options, + // infos about gitbook gitbook: { version: pkg.version,