2025-06-06 18:12:46 +02:00
|
|
|
<!-- DNS preconnect -->
|
|
|
|
|
<meta http-equiv="x-dns-prefetch-control" content="on">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- plugins + stylesheet -->
|
|
|
|
|
{{ $styles := slice }}
|
|
|
|
|
{{ range site.Params.plugins.css }}
|
|
|
|
|
{{ if findRE "^http" .link }}
|
|
|
|
|
<link crossorigin="anonymous" media="all" rel="stylesheet" href="{{ .link | relURL }}" {{.attributes | safeHTMLAttr}} >
|
|
|
|
|
{{ else }}
|
|
|
|
|
{{ $styles = $styles | append (resources.Get .link) }}
|
|
|
|
|
{{ end }}
|
|
|
|
|
{{ end }}
|
|
|
|
|
{{ $styles := $styles | append (resources.Get "scss/style.scss" | resources.ExecuteAsTemplate "style.scss" . | toCSS) }}
|
|
|
|
|
{{ $styles := $styles | resources.Concat "/css/style.css" | minify | fingerprint "sha512"}}
|
2025-08-04 19:03:47 +02:00
|
|
|
<link rel="stylesheet" href="{{ $styles.Permalink }}">
|