From c62aedbaf6ca5e1c35778261676043630619d6e6 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Thu, 12 Oct 2017 13:37:52 -0400 Subject: [PATCH] Support customHTML/customJS (#380) * nodebb/nodebb#5980 - Introduced customHTML field - Moved customJS to footer * switched to using defer only for scripts in footer, nodebb/nodebb#5980 --- templates/footer.tpl | 8 ++++++-- templates/header.tpl | 8 ++++---- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/templates/footer.tpl b/templates/footer.tpl index 48d84c8..e31d904 100644 --- a/templates/footer.tpl +++ b/templates/footer.tpl @@ -16,15 +16,19 @@ - + - + diff --git a/templates/header.tpl b/templates/header.tpl index a8f805e..0a6bbfc 100644 --- a/templates/header.tpl +++ b/templates/header.tpl @@ -16,12 +16,12 @@ }; - - {{customJS}} - + + {{customHTML}} + - +