From 6f46594d36feabd71c0d72342dd7d4edcda15ae6 Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Mon, 19 Oct 2015 09:28:22 +0100 Subject: [PATCH] Move jQuery before `{{ghost_foot}}` - Including jQuery before `{{ghost_foot}}` means jQuery can be used inside ghost_foot code injection - It should also improve backwards compat, as without this jQuery code included via ghost_foot may break --- default.hbs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/default.hbs b/default.hbs index 48fba53..44c31ae 100644 --- a/default.hbs +++ b/default.hbs @@ -37,10 +37,11 @@ + {{!-- jQuery needs to come before `{{ghost_foot}}` so that jQuery can be used in code injection --}} + {{! Ghost outputs important scripts and data with this tag }} {{ghost_foot}} - {{! The main JavaScript file for Casper }}