diff options
Diffstat (limited to 'layouts/partials/footer/scripts.html')
-rw-r--r-- | layouts/partials/footer/scripts.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/layouts/partials/footer/scripts.html b/layouts/partials/footer/scripts.html index 6142f3d..f4dc641 100644 --- a/layouts/partials/footer/scripts.html +++ b/layouts/partials/footer/scripts.html @@ -1,6 +1,12 @@ -{{ $jQuery := resources.Get "vendor/jquery/jquery-3.3.1.min.js" }} +{{ $jQuery := resources.Get "vendor/jquery/jquery-3.5.1.min.js" }} {{ $index := resources.Get "js/index.js" | minify }} {{ $scripts := slice $jQuery $index | resources.Concat "js/bundle.js" | fingerprint }} <script src="{{ $scripts.Permalink }}" integrity="{{ $scripts.Data.Integrity }}"></script> {{ template "_internal/google_analytics_async.html" . }} + +<!-- Custom JavaScript --> +{{ range .Site.Params.customJS -}} + {{ $script := resources.Get . | minify }} + <script src="{{ $script.Permalink }}" integrity="{{ $script.Data.Integrity }}"></script> +{{- end }} |