13 lines
551 B
HTML
13 lines
551 B
HTML
{{- 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>
|