fixed error "can't evaluate field IsServer in type page.Site"
Some checks failed
Website / Website veröffentlichen (push) Failing after -24s

This commit is contained in:
2026-03-25 12:40:16 +01:00
parent de74bbfdb0
commit 039aaa3ed6

View File

@@ -10,9 +10,9 @@
<link href='{{ "/css/fa6.min.css" | relURL }}' rel="stylesheet" type="text/css">
{{ end }}
{{ $styles := resources.Get "css/style.css" | postCSS }}
{{ if .Site.IsServer }}
<!-- {{ if .Site.IsServer }}
<link rel="stylesheet" href="{{ $styles.RelPermalink }}">
{{ else }}
{{ else }} -->
{{ $styles := $styles | minify | fingerprint | resources.PostProcess }}
<link rel="stylesheet" href="{{ $styles.RelPermalink }}" />
{{ end }}