diff --git a/themes/red/layouts/partials/head.html b/themes/red/layouts/partials/head.html
index 94fcdf0..4d362c8 100644
--- a/themes/red/layouts/partials/head.html
+++ b/themes/red/layouts/partials/head.html
@@ -25,15 +25,15 @@
{{ $masonry := resources.Get "js/masonry.min.js" }}
{{ if hugo.IsProduction }}
- {{ $masonry = $style | minify | fingerprint | resources.PostProcess }}
+ {{ $masonry = $masonry | minify | fingerprint | resources.PostProcess }}
{{ end }}
-
+
{{ $imagesloaded := resources.Get "js/imagesloaded.min.js" }}
{{ if hugo.IsProduction }}
- {{ $imagesloaded = $style | minify | fingerprint | resources.PostProcess }}
+ {{ $imagesloaded = $imagesloaded | minify | fingerprint | resources.PostProcess }}
{{ end }}
-
+