Opmaak
This commit is contained in:
parent
523de4c204
commit
a57fe82cc5
|
@ -1,9 +1,9 @@
|
||||||
{{ $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 }}
|
||||||
|
|
||||||
{{ $js := .Scratch.Get "jslibs" | resources.Concat "js/combined-scripts.js" | resources.Minify | fingerprint }}
|
{{ $js := .Scratch.Get "jslibs" | resources.Concat "js/combined-scripts.js" | resources.Minify | fingerprint }}
|
||||||
|
|
Reference in a new issue