This commit is contained in:
Michael Boelen 2023-06-01 10:43:59 +02:00
parent 523de4c204
commit a57fe82cc5

View file

@ -1,7 +1,7 @@
{{ $assetBusting := not .Site.Params.disableAssetsBusting }} {{ $assetBusting := not .Site.Params.disableAssetsBusting }}
{{ $scripts := getJSON "assets/js/scripts.json" }} {{ $scripts := getJSON "assets/js/scripts.json" }}
{{ $.Scratch.Set "jslibs" slice }} {{ $.Scratch.Set "jslibs" slice }}
{{ range $scripts.scripts }} {{ range $scripts.scripts }}
{{ $.Scratch.Add "jslibs" (resources.Get . ) }} {{ $.Scratch.Add "jslibs" (resources.Get . ) }}
{{ end }} {{ end }}