2023-12-08 11:42:40 +01:00
|
|
|
{{- with resources.Get "sass/main.scss" | toCSS $options | minify }}
|
2023-12-08 10:56:22 +01:00
|
|
|
{{- 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 }}
|
|
|
|
{{- end }}
|