diff options
author | Samy Pessé <samypesse@gmail.com> | 2014-10-29 17:20:30 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2014-10-29 17:20:30 +0100 |
commit | 3c8de4a8ab8dd3ccea26baea3d14758a0032d488 (patch) | |
tree | cc7adfd70a244e390fca6f29bb10ce6acf27bd66 | |
parent | 591d8fc9eef2c6727c3d66bbe50b833893731532 (diff) | |
download | gitbook-3c8de4a8ab8dd3ccea26baea3d14758a0032d488.zip gitbook-3c8de4a8ab8dd3ccea26baea3d14758a0032d488.tar.gz gitbook-3c8de4a8ab8dd3ccea26baea3d14758a0032d488.tar.bz2 |
Add 'variables' to book.json doc
-rw-r--r-- | README.md | 3 | ||||
-rw-r--r-- | lib/generate/config.js | 3 |
2 files changed, 6 insertions, 0 deletions
@@ -74,6 +74,9 @@ Here are the options that can be stored in this file: } }, + // Variables for templating + "variables": {}, + // Links in template (null: default, false: remove, string: new value) "links": { // Custom links at top of sidebar diff --git a/lib/generate/config.js b/lib/generate/config.js index 4d814c8..7ec0741 100644 --- a/lib/generate/config.js +++ b/lib/generate/config.js @@ -38,6 +38,9 @@ var CONFIG = { } }, + // 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 |