diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 839c902..dd479dc 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -22,17 +22,9 @@
{{ end }}
-{{ with resources.Get "sass/main.scss" }}
- {{ $opts := dict "targetPath" "main.css" "outputStyle" "compressed" "enableSourceMap" true }}
- {{ with . | toCSS $opts }}
- {{ if hugo.IsDevelopment }}
-
- {{ else }}
- {{ with . | minify | fingerprint }}
-
- {{ end }}
- {{ end }}
- {{ end }}
+{{ $opts := dict "transpiler" "libsass" "targetPath" "main.css" "outputStyle" "compressed" "enableSourceMap" true }}
+{{ with resources.Get "scss/main.scss" | toCSS $opts | minify | fingerprint }}
+
{{ end }}