This commit is contained in:
fzorb 2025-03-06 12:45:26 +02:00
parent f25c5cb60c
commit 3475c31d71
38 changed files with 158 additions and 359 deletions

View file

@ -0,0 +1,2 @@
<link rel="stylesheet" href="/style.css">

View file

@ -0,0 +1,12 @@
{{- 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 }}