This commit is contained in:
Hoernschen 2024-06-19 20:45:01 +02:00
parent 6938e212ba
commit 62f343ef90
Signed by: hoernschen
GPG key ID: 37591FAF4E6D3462
40 changed files with 2171 additions and 149 deletions

View file

@ -1,9 +1,4 @@
{{- with resources.Get "css/main.css" }}
{{- if eq hugo.Environment "development" }}
<link rel="stylesheet" href="{{ .RelPermalink }}">
{{- else }}
{{- with . | minify | fingerprint }}
<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
{{- end }}
{{- end }}
{{- with resources.Get "scss/main.scss" | resources.ExecuteAsTemplate "css/main.css" . | resources.ToCSS (dict "outputStyle" "compressed") | minify | fingerprint }}
<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
{{- end }}
<link rel="stylesheet" type="text/css" href="/icons/fontawesome.css">