summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-plugin-theme-default
diff options
context:
space:
mode:
authorSamy Pesse <samypesse@gmail.com>2016-10-08 18:19:49 +0200
committerSamy Pesse <samypesse@gmail.com>2016-10-08 18:19:49 +0200
commit03b89194d785807e12f3a7b40d5558d300e3cc49 (patch)
treebd63626c3186ce8699a473457127dd536bc0064a /packages/gitbook-plugin-theme-default
parent68ec88c62096faf5c8538bec4431868919ae9652 (diff)
downloadgitbook-03b89194d785807e12f3a7b40d5558d300e3cc49.zip
gitbook-03b89194d785807e12f3a7b40d5558d300e3cc49.tar.gz
gitbook-03b89194d785807e12f3a7b40d5558d300e3cc49.tar.bz2
Prepare for multiple role rendering for ebooks
Diffstat (limited to 'packages/gitbook-plugin-theme-default')
-rw-r--r--packages/gitbook-plugin-theme-default/src/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/gitbook-plugin-theme-default/src/index.js b/packages/gitbook-plugin-theme-default/src/index.js
index c391908..ad96175 100644
--- a/packages/gitbook-plugin-theme-default/src/index.js
+++ b/packages/gitbook-plugin-theme-default/src/index.js
@@ -7,7 +7,7 @@ const locales = require('./i18n');
module.exports = GitBook.createPlugin({
activate: (dispatch, state, { Components, I18n }) => {
- dispatch(Components.registerComponent(Theme, { role: 'Body' }));
+ dispatch(Components.registerComponent(Theme, { role: 'website:body' }));
dispatch(I18n.registerLocales(locales));
},
reduce: reduceState