diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 1ce8fa37..54c4f949 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -16,12 +16,14 @@
{{ "" | safeHTML }}
{{ "" | safeHTML }}
- {{ $style := resources.Get "scss/style.scss" | resources.ToCSS | minify }}
-
-
- {{ range .Site.Params.custom_stylesheets -}}
- {{ $style := resources.Get . | resources.ToCSS | minify }}
-
+ {{ range (slice "scss/style.scss" | append .Site.Params.custom_stylesheets) -}}
+ {{ $style := resources.Get . | toCSS (dict "transpiler" "libsass" "targetPath" (replaceRE `^scss/(.*)\.scss$` "css/$1.css" .)) }}
+ {{ if hugo.IsDevelopment }}
+
+ {{ else }}
+ {{ $style := $style | minify | fingerprint }}
+
+ {{ end }}
{{- end }}