summaryrefslogtreecommitdiffstats
path: root/lib/generators/website.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/generators/website.js')
-rw-r--r--lib/generators/website.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/generators/website.js b/lib/generators/website.js
index 8d1a3c5..a671ca7 100644
--- a/lib/generators/website.js
+++ b/lib/generators/website.js
@@ -51,11 +51,12 @@ Generator.prototype.prepareStyles = function() {
.map(function(style) {
var stylePath = that.options.styles[style];
if (fs.existsSync(path.resolve(that.book.root, stylePath))) {
- return stylePath;
+ return [style, stylePath];
}
return null;
})
.compact()
+ .object()
.value();
return Q();