From 70ca86369bdc7160b243b7e31c59655b6843124f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Knut=20Hu=CC=88hne?= Date: Mon, 11 Nov 2024 09:56:54 +0100 Subject: [PATCH] Use `css.Sass` instead of `resource.ToSass` This has been renamed in v0.128.0 as per the [documentation](https://gohugo.io/functions/resources/tocss/) and was showing depreaction warning nows on every run. --- layouts/partials/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 782782dd97..e79ad6bf51 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -15,6 +15,6 @@ -{{ $style := resources.Get "sass/main.sass" | resources.ToCSS | resources.Minify | resources.Fingerprint }} +{{ $style := resources.Get "sass/main.sass" | css.Sass | resources.Minify | resources.Fingerprint }} {{- partial "js.html" . -}}