diff options
author | Aaron O'Mullan <aaron.omullan@friendco.de> | 2014-10-15 21:28:53 +0200 |
---|---|---|
committer | Aaron O'Mullan <aaron.omullan@friendco.de> | 2014-10-15 21:28:53 +0200 |
commit | 225ff27dd15b904d6a4a784c219522a28f316a5b (patch) | |
tree | 83cf19e47f26fd77072ac63aeaf2152a4b30ffa6 /lib/generate/site/index.js | |
parent | 52e83618467a238f6b20f5fb77f6f6a2e1450c8c (diff) | |
download | gitbook-225ff27dd15b904d6a4a784c219522a28f316a5b.zip gitbook-225ff27dd15b904d6a4a784c219522a28f316a5b.tar.gz gitbook-225ff27dd15b904d6a4a784c219522a28f316a5b.tar.bz2 |
Fix small incompatibility mistake
Diffstat (limited to 'lib/generate/site/index.js')
-rw-r--r-- | lib/generate/site/index.js | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/lib/generate/site/index.js b/lib/generate/site/index.js index 99f5fb3..4179917 100644 --- a/lib/generate/site/index.js +++ b/lib/generate/site/index.js @@ -121,13 +121,10 @@ Generator.prototype.prepareFile = function(content, _input) { // Lex, parse includes and get // Get HTML generated sections return parse.page(page.content, { - // Directories to search for includes - dir: [ - // Local files path - path.dirname(_input) || '/', - // Project's include folder - path.join(that.options.input, '_includes'), - ], + // Local files path + dir: path.dirname(_input) || '/', + // Project's include folder + includes_dir: path.join(that.options.input, '_includes'), // Output directory outdir: path.dirname(_input) || '/', // Templating variables |