CHANGE scroll indicators to be interactive

This commit is contained in:
Hoernschen 2024-06-20 12:36:59 +02:00
parent 559cf1ef80
commit aee652e045
Signed by: hoernschen
GPG key ID: 37591FAF4E6D3462
4 changed files with 45 additions and 24 deletions

View file

@ -1,12 +1,3 @@
{{- 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 }}
{{- with resources.Get "js/main.js" | minify | fingerprint }}
<script src="{{ .RelPermalink }}" integrity="{{- .Data.Integrity }}" crossorigin="anonymous"></script>
{{- end }}