From d56d8a2f1eb7751af456acaa9420c46a9abca896 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 3 May 2017 14:10:11 +0100 Subject: [PATCH] Fix script location and run handle --- md_pdf/assets/static/context.js | 3 ++- md_pdf/assets/templates/cover-template.html | 2 +- md_pdf/assets/templates/footer.html | 6 +++--- md_pdf/assets/templates/header.html | 6 +++--- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/md_pdf/assets/static/context.js b/md_pdf/assets/static/context.js index 90adc1b..8675777 100644 --- a/md_pdf/assets/static/context.js +++ b/md_pdf/assets/static/context.js @@ -21,4 +21,5 @@ function subst() { } } -window.subst = subst(); + +subst(); diff --git a/md_pdf/assets/templates/cover-template.html b/md_pdf/assets/templates/cover-template.html index 8675240..53f95a4 100644 --- a/md_pdf/assets/templates/cover-template.html +++ b/md_pdf/assets/templates/cover-template.html @@ -1,7 +1,7 @@ - +

{{ title }}

diff --git a/md_pdf/assets/templates/footer.html b/md_pdf/assets/templates/footer.html index 8765260..9b988e4 100644 --- a/md_pdf/assets/templates/footer.html +++ b/md_pdf/assets/templates/footer.html @@ -1,10 +1,9 @@ - - + - +
@@ -12,5 +11,6 @@
+ diff --git a/md_pdf/assets/templates/header.html b/md_pdf/assets/templates/header.html index e8b7db6..91e760b 100644 --- a/md_pdf/assets/templates/header.html +++ b/md_pdf/assets/templates/header.html @@ -1,9 +1,9 @@ - - + - + +