diff options
Diffstat (limited to 'layouts/partials/footer/scripts.html')
-rw-r--r-- | layouts/partials/footer/scripts.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/footer/scripts.html b/layouts/partials/footer/scripts.html index 2954f7e..4f517e7 100644 --- a/layouts/partials/footer/scripts.html +++ b/layouts/partials/footer/scripts.html @@ -8,8 +8,8 @@ {{ $momentTimezone := resources.Get "vendor/momentjs/moment-timezone.min.js" }} {{ $momentTimezoneWithData := resources.Get "vendor/momentjs/moment-timezone-with-data-2012-2022.min.js" }} {{ $initMomentjs := resources.Get "js/initMoment.js" | resources.ExecuteAsTemplate "js/initMoment.tmp.js" . }} -{{ $scripts := slice $momentjs $momentTimezone $momentTimezoneWithData $initMomentjs | resources.Concat "/js/bundleMoment.js" | fingerprint }} -<script src="{{ $scripts.Permalink }}" integrity="{{ $scripts.Data.Integrity }}"></script> +{{ $bundleMoment := slice $momentjs $momentTimezone $momentTimezoneWithData $initMomentjs | resources.Concat "/js/bundleMoment.js" | fingerprint }} +<script src="{{ $bundleMoment.Permalink }}" integrity="{{ $bundleMoment.Data.Integrity }}"></script> {{ end }} {{ template "_internal/google_analytics_async.html" . }} |