From 9173f593920719b95df1827cb29f1755e3936cef Mon Sep 17 00:00:00 2001 From: Xin Date: Sun, 22 Sep 2024 22:16:33 +0100 Subject: [PATCH] fix: replace deprecated `resources.PostCSS` (#458) --- layouts/partials/head-css.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/head-css.html b/layouts/partials/head-css.html index b0a900fe..d4f999fd 100644 --- a/layouts/partials/head-css.html +++ b/layouts/partials/head-css.html @@ -1,6 +1,6 @@ {{- if and (not hugo.IsProduction) (eq hugo.Environment "theme") }} {{- $styles := resources.Get "css/styles.css" }} - {{- $styles = $styles | resources.PostCSS (dict "inlineImports" true) }} + {{- $styles = $styles | postCSS (dict "inlineImports" true) }} {{- else }} {{- $styles := resources.Get "css/compiled/main.css" -}}