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.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/generators/website.js b/lib/generators/website.js
index ecfd98c..1143fe5 100644
--- a/lib/generators/website.js
+++ b/lib/generators/website.js
@@ -49,7 +49,7 @@ Generator.prototype.prepareStyles = function() {
this.styles = _.chain(this.styles)
.map(function(style) {
var stylePath = that.options.styles[style];
- if (stylePath && fs.existsSync(that.book.resolve(stylePath))) {
+ if (stylePath && fs.existsSync(that.book.resolveOutput(stylePath))) {
return [style, stylePath];
}
return null;