Skip to content

Commit

Permalink
Switch from resources.ToCSS to css.Sass to fix deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jhenstridge committed Oct 13, 2024
1 parent 72028c1 commit d81c7fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{{- template "_internal/schema.html" . -}}
{{- template "_internal/twitter_cards.html" . -}}

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

0 comments on commit d81c7fa

Please sign in to comment.