diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-01-15 06:29:14 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-01-15 06:29:14 +0100 |
commit | 80432161708357bdcf0e00533d9e6d327636dab6 (patch) | |
tree | 8ce12831a41e532fbf784b000b35fcc94d5a03bf /lib/generate/page/index.js | |
parent | 2cab0187919b1c8d9cb7dcdcd04d45e1b536b4ef (diff) | |
parent | 3c7372dff58aa13d1a48be18ca0fe2ed1bcedfde (diff) | |
download | gitbook-80432161708357bdcf0e00533d9e6d327636dab6.zip gitbook-80432161708357bdcf0e00533d9e6d327636dab6.tar.gz gitbook-80432161708357bdcf0e00533d9e6d327636dab6.tar.bz2 |
Merge pull request #555 from GitbookIO/feature/styles
Add custom styles options
Diffstat (limited to 'lib/generate/page/index.js')
-rw-r--r-- | lib/generate/page/index.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/generate/page/index.js b/lib/generate/page/index.js index a926d13..8054fe6 100644 --- a/lib/generate/page/index.js +++ b/lib/generate/page/index.js @@ -11,6 +11,9 @@ var BaseGenerator = require("../site"); var Generator = function() { BaseGenerator.apply(this, arguments); + // Styles to use + this.styles = ["ebook"]; + // Base for assets in plugins this.pluginAssetsBase = "ebook"; @@ -49,7 +52,7 @@ Generator.prototype.finish = function() { var output = path.join(this.options.output, "index.html"); var progress = parse.progress(this.options.navigation, "README.md"); - + return Q() // Write table of contents |