Skip to content

Commit 502c49d

Browse files
committed
Change deprecated resources.ToCSS to css.Sass
1 parent 30b7916 commit 502c49d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/partials/head.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{{/* Load Bootstrap SCSS */}}
77
{{ $options := dict "enableSourceMap" true }}{{ if hugo.IsProduction}}{{ $options := dict "enableSourceMap" false "outputStyle" "compressed" }}{{ end }}
88
{{ $styles := resources.Get "scss/styles.scss" }}
9-
{{ $styles = $styles | resources.ToCSS $options }}{{ if hugo.IsProduction }}{{ $styles = $styles | minify | fingerprint }}{{ end }}
9+
{{ $styles = $styles | css.Sass $options }}{{ if hugo.IsProduction }}{{ $styles = $styles | minify | fingerprint }}{{ end }}
1010
<link rel="stylesheet" href="{{ $styles.RelPermalink }}">
1111
<link rel="stylesheet" href="/fonts/bootstrap-icons.min.css">
1212

0 commit comments

Comments
 (0)