{{- range (slice "js/jquery-1.11.3.min.js" "js/filter-tags.js") }}
  {{- with resources.Get . }}
    {{- if eq hugo.Environment "development" }}
      {{- with . }}
        <script src="{{ .RelPermalink }}"></script>
      {{- end }}
    {{- else }}
      {{- with . | minify | fingerprint }}
        <script src="{{ .RelPermalink }}" integrity="{{- .Data.Integrity }}" crossorigin="anonymous"></script>
      {{- end }}
    {{- end }}
  {{- end }}
{{- end }}

{{- range .Site.Params.custom_js }}
<script src="{{ relURL . }}"></script>
{{- end }}
