blob: 0c234aa31a448a5ef7d7a262f565998759a1bf2a (
plain) (
tree)
|
|
{{- with resources.Get "js/main.js" }}
{{- if eq hugo.Environment "development" }}
{{- with . | js.Build }}
<script src="{{ .RelPermalink }}" defer="true"></script>
{{- end }}
{{- else }}
{{- $opts := dict "minify" true }}
{{- with . | js.Build $opts | fingerprint }}
<script src="{{ .RelPermalink }}" defer="true" integrity="{{- .Data.Integrity }}" crossorigin="anonymous"></script>
{{- end }}
{{- end }}
{{- end }}
<script src="/js/bootstrap.bundle.min.js" defer="true"></script>
<script src="/js/fuse.min.js" defer="true"></script>
<script src="/js/search.js" defer="true"></script>
|