diff --git a/themes/tella/layouts/partials/head.html b/themes/tella/layouts/partials/head.html
index 98c4743..28a6faf 100644
--- a/themes/tella/layouts/partials/head.html
+++ b/themes/tella/layouts/partials/head.html
@@ -10,7 +10,7 @@
{{ end }}
{{ $styles := resources.Get "css/style.css" | postCSS }}
-{{ if .Site.IsServer }}
+{{ if hugo.IsServer }}
{{ else }}
{{ $styles := $styles | minify | fingerprint | resources.PostProcess }}