diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-04-27 14:37:02 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-04-27 14:37:02 +0200 |
commit | d585269228393a398cce6dae66d1ab63ea1d5d9b (patch) | |
tree | fd249f004a6161ce428f50003a716e93c37780ed /lib/parse/parseIgnore.js | |
parent | 50f535b910dc9092378e343a5f948104564cb462 (diff) | |
download | gitbook-d585269228393a398cce6dae66d1ab63ea1d5d9b.zip gitbook-d585269228393a398cce6dae66d1ab63ea1d5d9b.tar.gz gitbook-d585269228393a398cce6dae66d1ab63ea1d5d9b.tar.bz2 |
Correctly ignore summary and templates from assets
Diffstat (limited to 'lib/parse/parseIgnore.js')
-rw-r--r-- | lib/parse/parseIgnore.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/parse/parseIgnore.js b/lib/parse/parseIgnore.js index 3ffe89e..3dd44f2 100644 --- a/lib/parse/parseIgnore.js +++ b/lib/parse/parseIgnore.js @@ -25,7 +25,10 @@ function parseIgnore(book) { '_book', '*.pdf', '*.epub', - '*.mobi' + '*.mobi', + + // Ignore files in the templates folder + '_layouts' ]); return Promise.serie(IGNORE_FILES, function(filename) { |