From 1b7f3747afdabda45aaa1de6d0b5bed40d183ee2 Mon Sep 17 00:00:00 2001 From: ShivamJha2436 Date: Tue, 21 Oct 2025 21:59:35 +0530 Subject: [PATCH 1/4] docs: fix Hugo build by replacing deprecated resources.ToCSS function Signed-off-by: ShivamJha2436 --- site/themes/contour/layouts/_default/baseof.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/themes/contour/layouts/_default/baseof.html b/site/themes/contour/layouts/_default/baseof.html index 5e0eb876e62..4306b7074bc 100644 --- a/site/themes/contour/layouts/_default/baseof.html +++ b/site/themes/contour/layouts/_default/baseof.html @@ -8,7 +8,7 @@ {{ with .Site.Params.description }}{{ end }} {{ with .Site.Params.author }}{{ end }} {{ $options := (dict "targetPath" "css/style.css" "outputStyle" "compressed" "enableSourceMap" true "includePaths" (slice "node_modules/myscss")) }} - {{ $style := resources.Get "scss/site.scss" | resources.ToCSS $options }} + {{ $style := resources.Get "scss/site.scss" | resources.ExecuteAsTemplate "scss/site.scss" . | toCSS $options }}