Fix dir option in site generator

Use relative folder not absolute
This commit is contained in:
Aaron O'Mullan
2014-04-06 15:55:24 -07:00
parent eecb33baa8
commit 75a8d3069d
+1 -1
View File
@@ -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) {