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