Verhelpen Hugo 0.123 deprecation
This commit is contained in:
parent
d1f43e4e4d
commit
9b49f2319a
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
{{ $assetBusting := not .Site.Params.disableAssetsBusting }}
|
|
||||||
{{ $scripts := getJSON "assets/js/scripts.json" }}
|
|
||||||
{{ $.Scratch.Set "jslibs" slice }}
|
{{ $.Scratch.Set "jslibs" slice }}
|
||||||
|
{{ $assetBusting := not .Site.Params.disableAssetsBusting }}
|
||||||
|
{{ $scripts := resources.Get "js/scripts.json" | unmarshal }}
|
||||||
|
|
||||||
{{ range $scripts.scripts }}
|
{{ range $scripts.scripts }}
|
||||||
{{ $.Scratch.Add "jslibs" (resources.Get . ) }}
|
{{ $.Scratch.Add "jslibs" (resources.Get . ) }}
|
||||||
|
|
Loading…
Reference in a new issue