diff --git a/layouts/partials/site-style.html b/layouts/partials/site-style.html
index d2c25e4..ad91056 100644
--- a/layouts/partials/site-style.html
+++ b/layouts/partials/site-style.html
@@ -9,7 +9,7 @@
{{ $style := . | resources.ToCSS $options | resources.PostCSS (dict "use" "postcss-cssnext") | minify }}
{{/* We fingerprint in production to ensure cache busting */}}
{{ if eq (getenv "HUGO_ENV") "production" }}
- {{ $style = . | fingerprint }}
+ {{ $style = $style | fingerprint }}
{{ end }}
{{ with $style }}
@@ -24,4 +24,4 @@
{{ range .Site.Params.custom_css }}
-{{ end }}
\ No newline at end of file
+{{ end }}