diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-05-10 14:25:50 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-05-10 14:25:50 +0200 |
commit | 3d8b1880dceba6a51c6a0d724eaffc05244bce44 (patch) | |
tree | ca6b7cf12e4d6950744249598f618f7b9abc7874 | |
parent | 1a13c8c9bb4dd388ba17a6b2f4931905815254ef (diff) | |
download | gitbook-3d8b1880dceba6a51c6a0d724eaffc05244bce44.zip gitbook-3d8b1880dceba6a51c6a0d724eaffc05244bce44.tar.gz gitbook-3d8b1880dceba6a51c6a0d724eaffc05244bce44.tar.bz2 |
Fix page's title in pdf header/footer
-rw-r--r-- | lib/output/ebook/getPDFTemplate.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/output/ebook/getPDFTemplate.js b/lib/output/ebook/getPDFTemplate.js index 354cc29..b767daf 100644 --- a/lib/output/ebook/getPDFTemplate.js +++ b/lib/output/ebook/getPDFTemplate.js @@ -22,8 +22,7 @@ function getPDFTemplate(output, type) { var context = JSONUtils.encodeOutput(output); context.page = { num: '_PAGENUM_', - title: '_TITLE_', - section: '_SECTION_' + title: '_SECTION_' }; // Render the theme |