birdcat.online/themes/aviary/layouts/partials/head/js.html

14 lines
551 B
HTML
Raw Permalink Normal View History

2024-04-17 20:19:12 -04:00
{{- 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 defer src="https://umami.birdcat.cafe/script.js" data-website-id="9d5295e2-c4e3-4be9-b1e6-b37c4a11da19"></script>