From 34ef242cc409b92f415e70799ef53e76a1ae86ae Mon Sep 17 00:00:00 2001 From: Phil Winder Date: Wed, 6 Mar 2024 18:05:52 +0000 Subject: [PATCH] Update head-end.html --- layouts/partials/custom/head-end.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */}}