hugo-theme/layouts/partials/css.html

8 lines
251 B
HTML
Raw Normal View History

2024-10-21 13:47:30 +02:00
{{- $styles := resources.Get "css/index.css" -}}
{{- if hugo.IsDevelopment }}
{{- $styles = $styles | fingerprint -}}
{{ else }}
{{- $styles = $styles | minify | fingerprint -}}
{{ end -}}
<link rel="stylesheet" href="{{ $styles.RelPermalink }}">