summaryrefslogtreecommitdiffstats
path: root/lib/generate/site/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/generate/site/index.js')
-rw-r--r--lib/generate/site/index.js11
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