This commit is contained in:
2026-06-12 23:22:44 +02:00
parent dcf9e833eb
commit 9b230a08a9
59 changed files with 1272 additions and 50 deletions

View File

@@ -0,0 +1,15 @@
{{- with resources.Get "css/main.css" }}
{{- $opts := dict
"minify" (cond hugo.IsDevelopment false true)
"sourceMap" (cond hugo.IsDevelopment "linked" "none")
}}
{{- with . | css.Build $opts }}
{{- if hugo.IsDevelopment }}
<link rel="stylesheet" href="{{ .RelPermalink }}">
{{- else }}
{{- with . | fingerprint }}
<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
{{- end }}
{{- end }}
{{- end }}
{{- end }}