From 738f2ce37577e54a98e7060e5e8f7f4f00bddfc7 Mon Sep 17 00:00:00 2001 From: Mostafa Hadadian Date: Wed, 25 Dec 2024 18:31:55 +0100 Subject: [PATCH] fix(baseof.html): resolve deprecated resources.PostCSS ERROR deprecated: resources.PostCSS was deprecated in Hugo v0.128.0 and will be removed in Hugo 0.141.0. Use css.PostCSS instead. --- layouts/_default/baseof.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 3317cf9..36eae48 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -57,7 +57,7 @@ {{ $css := resources.Get "css/main.css" }} - {{ $css = $css | resources.PostCSS }} + {{ $css = $css | css.PostCSS }} {{ if hugo.IsProduction }} {{ $css = $css | minify | fingerprint | resources.PostProcess }} {{ end }}