diff options
author | Samy Pessé <samypesse@gmail.com> | 2014-10-29 17:19:19 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2014-10-29 17:19:19 +0100 |
commit | 591d8fc9eef2c6727c3d66bbe50b833893731532 (patch) | |
tree | 4f9fe9b2a52f0fe9863cd2c0060d954c275778a6 /lib/generate/site/index.js | |
parent | d480e9cea431fb4f6032b2048da48b178b0c3cd3 (diff) | |
download | gitbook-591d8fc9eef2c6727c3d66bbe50b833893731532.zip gitbook-591d8fc9eef2c6727c3d66bbe50b833893731532.tar.gz gitbook-591d8fc9eef2c6727c3d66bbe50b833893731532.tar.bz2 |
Use book.json to store variables
Diffstat (limited to 'lib/generate/site/index.js')
-rw-r--r-- | lib/generate/site/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/generate/site/index.js b/lib/generate/site/index.js index 4179917..6d86c7c 100644 --- a/lib/generate/site/index.js +++ b/lib/generate/site/index.js @@ -128,7 +128,7 @@ Generator.prototype.prepareFile = function(content, _input) { // Output directory outdir: path.dirname(_input) || '/', // Templating variables - variables: that.variables, + variables: that.options.variables, }); }) .then(function(sections) { |