summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md3
-rw-r--r--lib/generate/config.js3
2 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index 1a8d9a9..8586fc2 100644
--- a/README.md
+++ b/README.md
@@ -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