hugo-theme/layouts/partials/css.html
2024-10-21 13:47:30 +02:00

8 lines
251 B
HTML

{{- $styles := resources.Get "css/index.css" -}}
{{- if hugo.IsDevelopment }}
{{- $styles = $styles | fingerprint -}}
{{ else }}
{{- $styles = $styles | minify | fingerprint -}}
{{ end -}}
<link rel="stylesheet" href="{{ $styles.RelPermalink }}">