grity }}"></script>
  {{ end }}

  {{ range .Site.Params.customJS }}
  {{ if hugo.IsServer }}
  {{ $script := resources.Get . }}
  <script src="{{ $script.RelPermalink }}"></script>
  {{ else }}
  {{ $script := resources.Get . | resources.Minify | resources.Fingerprint }}
  <script src="{{ $script.RelPermalink }}" integrity="{{ $script.Data.Integrity }}"></script>
  {{ end }}
  {{ end }}

  {{ range .Site.Params.customRemoteJS }}
  {{ if hugo.IsServer }}
  {{ $script := resources.GetRemote . }}
  <script sr