diff --git a/streams/output/html.js b/streams/output/html.js index f3bbb1b..ef2860a 100644 --- a/streams/output/html.js +++ b/streams/output/html.js @@ -76,11 +76,6 @@ module.exports = function (opts) { helpers(Handlebars, paths); - this.push(new File({ - path: 'index.json', - contents: new Buffer(JSON.stringify(comments, null, 2), 'utf8') - })); - this.push(new File({ path: 'index.html', contents: new Buffer(pageTemplate({ @@ -92,7 +87,7 @@ module.exports = function (opts) { callback(); }, function (callback) { // push assets into the pipeline as well. - vfs.src([themeModule + '/assets/**']) + vfs.src([themeModule + '/assets/**'], { base: themeModule }) .on('data', function (file) { this.push(file); }.bind(this))