Opmaak
This commit is contained in:
parent
523de4c204
commit
a57fe82cc5
|
@ -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 }}
|
||||
|
|
Reference in a new issue