Skip to content

Commit d81c7fa

Browse files
committed
Switch from resources.ToCSS to css.Sass to fix deprecation warning
1 parent 72028c1 commit d81c7fa

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
@@ -13,7 +13,7 @@
1313
{{- template "_internal/schema.html" . -}}
1414
{{- template "_internal/twitter_cards.html" . -}}
1515

16-
{{ $css := resources.Get "css/main.scss" | resources.ToCSS (dict "outputStyle" "compressed") | fingerprint -}}
16+
{{ $css := resources.Get "css/main.scss" | css.Sass (dict "outputStyle" "compressed") | fingerprint -}}
1717
<link rel="stylesheet" href="{{ $css.RelPermalink }}">
1818
<link rel="canonical" href="{{ .Permalink }}">
1919
<!-- Font Awesome for the icons in the footer -->

0 commit comments

Comments
 (0)