1

Initial commit

This commit is contained in:
2025-03-28 12:57:37 +01:00
commit ed9ddcfdc8
1841 changed files with 42303 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
{{ $sectionSource := resources.Get "css/generated/sections-colors.css" -}}
{{- $sectionCSS := $sectionSource | resources.ExecuteAsTemplate "css/generated/sections-colors.css" . -}}
{{- $mainCSS := resources.Get "css/main.css" | postCSS (dict "inlineImports" true) -}}
{{- $bundle := slice $sectionCSS $mainCSS | resources.Concat "css/bundle.css" -}}
{{- if eq hugo.Environment "development" -}}
<link rel="stylesheet" href="{{ $bundle.RelPermalink }}" type="text/css" />
{{- else -}}
{{- with $bundle | minify | fingerprint -}}
<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous" type="text/css" />
{{- end -}}
{{- end -}}