diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-04-25 11:58:55 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-04-25 11:58:55 +0200 |
commit | f6e123f1ed36019a2ec5da1f97b27d22352b689a (patch) | |
tree | 326670b5cf1ff0cbdfbcd35d53f12fb858f874b2 /lib/output/createTemplateEngine.js | |
parent | e1e4e7f01177d968e63f0b3a1830eda1adacb56b (diff) | |
download | gitbook-f6e123f1ed36019a2ec5da1f97b27d22352b689a.zip gitbook-f6e123f1ed36019a2ec5da1f97b27d22352b689a.tar.gz gitbook-f6e123f1ed36019a2ec5da1f97b27d22352b689a.tar.bz2 |
Add base rendering for template
Diffstat (limited to 'lib/output/createTemplateEngine.js')
-rw-r--r-- | lib/output/createTemplateEngine.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/output/createTemplateEngine.js b/lib/output/createTemplateEngine.js index 27dbeba..fbf39d3 100644 --- a/lib/output/createTemplateEngine.js +++ b/lib/output/createTemplateEngine.js @@ -25,7 +25,7 @@ function createTemplateEngine(output) { .map(function(plugin) { return plugin.getBlocks(); }) - .flatten(); + .flatten(1); // Extend with default blocks = defaultBlocks.concat(blocks); |