将弃用的resources.ToCSS改为css.Sass

This commit is contained in:
zhbaor 2025-03-04 10:42:46 +08:00
parent edc90d2ebf
commit bc2f9e80fe

View file

@ -33,7 +33,7 @@
<meta name="theme-color" content="#ffffff"> <meta name="theme-color" content="#ffffff">
<!-- the Moments style css file --> <!-- the Moments style css file -->
{{ $style := resources.Get "style-refractored.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }} {{ $style := resources.Get "style-refractored.scss" | css.Sass | resources.Minify | resources.Fingerprint }}
<link rel="stylesheet" href="{{ $style.Permalink }}"> <link rel="stylesheet" href="{{ $style.Permalink }}">
<!-- fancybox css (js in the end before the body closing tag) --> <!-- fancybox css (js in the end before the body closing tag) -->