diff --git a/layouts/_partials/head.html b/layouts/_partials/head.html
index 5aff332..5fe620a 100644
--- a/layouts/_partials/head.html
+++ b/layouts/_partials/head.html
@@ -48,12 +48,9 @@
{{ range resources.Match "style/*.scss" }}
{{ with . | toCSS }}
- {{ if hugo.IsDevelopment }}
-
- {{ else -}}
- {{ with . | minify | fingerprint }}
+ {{ with cond hugo.IsDevelopment . (. | minify | fingerprint) }}
+
- {{ end }}
{{ end }}
{{ end }}
{{ end }}