diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 055701f8..baaf732f 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -21,12 +21,12 @@
{{- end}}
+{{- $stylesheet := (resources.Match "css/*.css") | resources.Concat "assets/css/stylesheet.css" | minify -}}
{{- if not .Site.Params.assets.disableFingerprinting }}
-{{- $stylesheet := (resources.Match "css/*.css") | resources.Concat "assets/css/stylesheet.css" | minify | fingerprint -}}
+{{- $stylesheet := $stylesheet | fingerprint -}}
{{- else}}
-{{- $stylesheet := (resources.Match "css/*.css") | resources.Concat "assets/css/stylesheet.css" | minify -}}
{{- end}}