From f571db1a2c2291b6baf788b887d991dc349a4833 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Tue, 7 Nov 2023 16:14:30 +0000 Subject: [PATCH] Reorder JS --- themes/lhs/layouts/partials/foot.html | 2 ++ themes/lhs/layouts/partials/head.html | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/themes/lhs/layouts/partials/foot.html b/themes/lhs/layouts/partials/foot.html index 689f411..ccebd24 100644 --- a/themes/lhs/layouts/partials/foot.html +++ b/themes/lhs/layouts/partials/foot.html @@ -1,3 +1,5 @@ + + {{ $site := resources.Get "js/site.js" }} {{ $js := slice $site | resources.Concat "js/bundle.js" | resources.Minify }} {{ $secureJS := $js | resources.Fingerprint "sha512" }} diff --git a/themes/lhs/layouts/partials/head.html b/themes/lhs/layouts/partials/head.html index 72c0e63..3cd7499 100644 --- a/themes/lhs/layouts/partials/head.html +++ b/themes/lhs/layouts/partials/head.html @@ -16,9 +16,6 @@ - - - {{ $opts := dict "transpiler" "libsass" "targetPath" "css/leighhack.css" }} {{ with resources.Get "sass/leighhack.scss" | toCSS $opts | minify | fingerprint }}