fix: replace deprecated resources.ToCSS by css.Sass
All checks were successful
Deploy workflow / deploy (push) Successful in 31s

This commit is contained in:
Matthieu Bessat 2024-12-22 23:37:30 +01:00
parent 421f2fa7b0
commit 4576a9fd34

View file

@ -38,6 +38,6 @@
<meta name="msapplication-TileImage" content="/icons/ms-icon-144x144.png"> <meta name="msapplication-TileImage" content="/icons/ms-icon-144x144.png">
<meta name="theme-color" content="#025E73"> <meta name="theme-color" content="#025E73">
{{ $style := resources.Get "sass/main.scss" | resources.ToCSS | resources.Fingerprint }} {{ $style := resources.Get "sass/main.scss" | css.Sass | resources.Fingerprint }}
<link rel="stylesheet" href="{{ $style.Permalink }}" integrity="{{ $style.Data.Integrity }}"> <link rel="stylesheet" href="{{ $style.Permalink }}" integrity="{{ $style.Data.Integrity }}">