summaryrefslogtreecommitdiffstats
path: root/lib/config
diff options
context:
space:
mode:
Diffstat (limited to 'lib/config')
-rw-r--r--lib/config/default.js8
-rw-r--r--lib/config/plugins.js2
2 files changed, 4 insertions, 6 deletions
diff --git a/lib/config/default.js b/lib/config/default.js
index a35f1a5..1695e11 100644
--- a/lib/config/default.js
+++ b/lib/config/default.js
@@ -20,6 +20,9 @@ module.exports = {
'summary': 'SUMMARY.md'
},
+ // Theme for output
+ 'theme': 'default',
+
// CSS Styles
'styles': {
'website': 'styles/website.css',
@@ -39,11 +42,6 @@ module.exports = {
// Variables for templating
'variables': {},
- // Set another theme with your own layout
- // It's recommended to use plugins or add more options for default theme, though
- // See https://github.com/GitbookIO/gitbook/issues/209
- 'theme': path.resolve(__dirname, '../theme'),
-
// Links in template (null: default, false: remove, string: new value)
'links': {
// Custom links at top of sidebar
diff --git a/lib/config/plugins.js b/lib/config/plugins.js
index 43eafdf..c75cd55 100644
--- a/lib/config/plugins.js
+++ b/lib/config/plugins.js
@@ -1,7 +1,7 @@
var _ = require('lodash');
// Default plugins added to each books
-var DEFAULT_PLUGINS = ['highlight', 'search', 'sharing', 'fontsettings'];
+var DEFAULT_PLUGINS = ['highlight', 'search', 'sharing', 'fontsettings', 'theme-default'];
// Return true if a plugin is a default plugin
function isDefaultPlugin(name, version) {