diff options
author | Alexandre Aquiles <alexandre.aquiles@gmail.com> | 2014-10-06 13:17:34 -0300 |
---|---|---|
committer | Alexandre Aquiles <alexandre.aquiles@gmail.com> | 2014-10-06 13:17:34 -0300 |
commit | a56b559d43ddb1f0271f211dbc72eb86bfa164b3 (patch) | |
tree | a079f383e84f57eb6ed9f7335c3dfde147f29d91 /lib/generate/config.js | |
parent | df1a82e0e4c45c314b941488a2c7e22e6fe5b55a (diff) | |
download | gitbook-a56b559d43ddb1f0271f211dbc72eb86bfa164b3.zip gitbook-a56b559d43ddb1f0271f211dbc72eb86bfa164b3.tar.gz gitbook-a56b559d43ddb1f0271f211dbc72eb86bfa164b3.tar.bz2 |
Adding options to set header and footer in PDF generation
Diffstat (limited to 'lib/generate/config.js')
-rw-r--r-- | lib/generate/config.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/generate/config.js b/lib/generate/config.js index 0b270a3..76b0d79 100644 --- a/lib/generate/config.js +++ b/lib/generate/config.js @@ -83,7 +83,13 @@ var CONFIG = { "left": 62, "top": 36, "bottom": 36 - } + }, + + //Header HTML template. Available variables: _PAGENUM_, _TITLE_, _AUTHOR_ and _SECTION_. + "headerTemplate": null, + + //Footer HTML template. Available variables: _PAGENUM_, _TITLE_, _AUTHOR_ and _SECTION_. + "footerTemplate": null } }; |