From acded37e83c8d19f27e17ff01a0fb9d74e7647b8 Mon Sep 17 00:00:00 2001 From: Mark Dumay <61946753+markdumay@users.noreply.github.com> Date: Wed, 4 Sep 2024 14:35:21 +0200 Subject: [PATCH] Use css.PostCSS instead of deprecated resources.PostCSS --- layouts/partials/head/stylesheet.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/head/stylesheet.html b/layouts/partials/head/stylesheet.html index 57f85823..dfbde1cb 100644 --- a/layouts/partials/head/stylesheet.html +++ b/layouts/partials/head/stylesheet.html @@ -73,7 +73,7 @@ {{ end }} {{- if site.Params.style.purge -}} {{- $post_options := dict "config" "config" "noMap" hugo.IsProduction -}} - {{- $css = $css | resources.PostCSS $post_options -}} + {{- $css = $css | css.PostCSS $post_options -}} {{- end -}} {{- if not hugo.IsProduction -}}