From a57fe82cc56cea1eceeda53ad0fe05b5ad581c24 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Thu, 1 Jun 2023 10:43:59 +0200 Subject: [PATCH] Opmaak --- themes/nluug/layouts/partials/scripts_loadlast.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/nluug/layouts/partials/scripts_loadlast.html b/themes/nluug/layouts/partials/scripts_loadlast.html index d97bde6..5289bd8 100644 --- a/themes/nluug/layouts/partials/scripts_loadlast.html +++ b/themes/nluug/layouts/partials/scripts_loadlast.html @@ -1,9 +1,9 @@ {{ $assetBusting := not .Site.Params.disableAssetsBusting }} {{ $scripts := getJSON "assets/js/scripts.json" }} - {{ $.Scratch.Set "jslibs" slice }} + {{ range $scripts.scripts }} -{{ $.Scratch.Add "jslibs" (resources.Get . ) }} + {{ $.Scratch.Add "jslibs" (resources.Get . ) }} {{ end }} {{ $js := .Scratch.Get "jslibs" | resources.Concat "js/combined-scripts.js" | resources.Minify | fingerprint }}