mestizo.monster/themes/corazon/layouts/partials/head/css.html

11 lines
438 B
HTML
Raw Normal View History

2024-04-16 23:19:17 -04:00
{{ $opts := dict "transpiler" "libsass" "targetPath" "css/style.css" }}
{{- with resources.Get "css/main.scss" | toCSS $opts }}
2024-03-02 17:44:53 -05: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 }}