summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/generate/site/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/generate/site/index.js b/lib/generate/site/index.js
index 474de2a..fa43c58 100644
--- a/lib/generate/site/index.js
+++ b/lib/generate/site/index.js
@@ -91,7 +91,7 @@ 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) || '/',
});
})
.then(function(sections) {