diff options
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/footer/scripts.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/layouts/partials/footer/scripts.html b/layouts/partials/footer/scripts.html index 6142f3d..7454f32 100644 --- a/layouts/partials/footer/scripts.html +++ b/layouts/partials/footer/scripts.html @@ -4,3 +4,9 @@ <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 }} |