From ac5da63ba46e6d0c70514031f183fed597425b96 Mon Sep 17 00:00:00 2001
From: James Bromberger <jeb@debian.org>
Date: Thu, 12 Sep 2024 08:35:21 +0000
Subject: [PATCH] Use css.Sass instead of resources.ToCSS due to deprecation in Hugo

---
 layouts/partials/head/index.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/layouts/partials/head/index.html b/layouts/partials/head/index.html
index 97b2f4d..cff8fe6 100644
--- a/layouts/partials/head/index.html
+++ b/layouts/partials/head/index.html
@@ -19,7 +19,7 @@
 {{- partial "opengraph" . -}}
 
 {{- $options := (dict "targetPath" "css/styles.css" "outputStyle" "compressed" "enableSourceMap" "true") -}}
-{{- $styles := resources.Get "sass/main.sass" | resources.ExecuteAsTemplate "main.sass" . | resources.ToCSS $options | resources.Fingerprint "sha512" }}
+{{- $styles := resources.Get "sass/main.sass" | resources.ExecuteAsTemplate "main.sass" . | css.Sass $options | resources.Fingerprint "sha512" }}
 <link rel="stylesheet" href="{{ $styles.Permalink }}" integrity="{{ $styles.Data.Integrity }}">
 
 {{- $config := site.Params }}

--
Gitblit v1.10.0