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.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/generate/site/index.js b/lib/generate/site/index.js
index 8b080f2..1cd63ff 100644
--- a/lib/generate/site/index.js
+++ b/lib/generate/site/index.js
@@ -94,7 +94,8 @@ Generator.prototype.convertFile = function(content, _input) {
// Get HTML generated sections
return parse.page(lexed, {
repo: that.options.githubId,
- dir: path.dirname(input) || '/'
+ dir: path.dirname(_input) || '/',
+ outdir: path.dirname(_input) || '/',
});
})
.then(function(sections) {