summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-plugin-theme-default/src/index.js
diff options
context:
space:
mode:
authorSamy Pesse <samypesse@gmail.com>2016-09-22 09:54:24 +0200
committerSamy Pesse <samypesse@gmail.com>2016-09-22 09:54:24 +0200
commit0b1888e184d3f995c3130daf794416ad0a4312bc (patch)
treeb22af323c65ad0e4d458ff6ab85bad00b5a39ba8 /packages/gitbook-plugin-theme-default/src/index.js
parent2257e42299f28f2a276bf2febd7f5d00e3931c08 (diff)
downloadgitbook-0b1888e184d3f995c3130daf794416ad0a4312bc.zip
gitbook-0b1888e184d3f995c3130daf794416ad0a4312bc.tar.gz
gitbook-0b1888e184d3f995c3130daf794416ad0a4312bc.tar.bz2
First working version in the browser
Diffstat (limited to 'packages/gitbook-plugin-theme-default/src/index.js')
-rw-r--r--packages/gitbook-plugin-theme-default/src/index.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/gitbook-plugin-theme-default/src/index.js b/packages/gitbook-plugin-theme-default/src/index.js
index 6499d5a..4b98a22 100644
--- a/packages/gitbook-plugin-theme-default/src/index.js
+++ b/packages/gitbook-plugin-theme-default/src/index.js
@@ -3,6 +3,7 @@ const GitBook = require('gitbook-core');
const Sidebar = require('./Sidebar');
const Page = require('./Page');
+const Toolbar = require('./Toolbar');
let ThemeBody = React.createClass({
propTypes: {
@@ -17,9 +18,10 @@ let ThemeBody = React.createClass({
<div className="GitBook book">
<GitBook.Head
title={page.title}
- titleTemplate="%s - GitBook"
- />
+ titleTemplate="%s - GitBook" />
+ <GitBook.ImportCSS href="gitbook/gitbook-plugin-theme-default/theme.css" />
+ <Toolbar />
<Sidebar />
<Page page={page} />
{children}