diff options
author | Samy Pesse <samypesse@gmail.com> | 2016-10-08 18:19:49 +0200 |
---|---|---|
committer | Samy Pesse <samypesse@gmail.com> | 2016-10-08 18:19:49 +0200 |
commit | 03b89194d785807e12f3a7b40d5558d300e3cc49 (patch) | |
tree | bd63626c3186ce8699a473457127dd536bc0064a /packages/gitbook-plugin-theme-default/src | |
parent | 68ec88c62096faf5c8538bec4431868919ae9652 (diff) | |
download | gitbook-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/src')
-rw-r--r-- | packages/gitbook-plugin-theme-default/src/index.js | 2 |
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 |