diff --git a/layouts/partials/custom/head-end.html b/layouts/partials/custom/head-end.html index 90bfe92..98ed2d6 100644 --- a/layouts/partials/custom/head-end.html +++ b/layouts/partials/custom/head-end.html @@ -2,8 +2,8 @@ {{ $options := dict "inlineImports" true "config" "./assets/css/postcss.config.js" }} {{ $styles := resources.Get "css/styles.css" }} {{ $styles = $styles | resources.PostCSS $options }} -{{ if not hugo.IsServer }} +{{ if not .Site.IsServer }} {{ $styles = $styles | minify | fingerprint | resources.PostProcess }} {{ end }} -{{/* /CSS */}} \ No newline at end of file +{{/* /CSS */}}