Skip to content

Commit

Permalink
Reverted last css.Sass change
Browse files Browse the repository at this point in the history
  • Loading branch information
gusper committed Nov 2, 2024
1 parent 38e1a5d commit d84b5cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<!-- CSS -->
{{ if eq .Site.Language.LanguageDirection "rtl" }}
{{ $sassTemplate := resources.Get "scss/anatole.rtl.scss" }}
{{ $style := $sassTemplate | resources.ExecuteAsTemplate "scss/main.rtl.scss" . | css.Sass | resources.Minify | resources.Fingerprint }}
{{ $style := $sassTemplate | resources.ExecuteAsTemplate "scss/main.rtl.scss" . | resources.ToCSS | resources.Minify | resources.Fingerprint }}
<link
rel="stylesheet"
href="{{ $style.RelPermalink }}"
Expand All @@ -45,7 +45,7 @@
/>
{{ else }}
{{ $sassTemplate := resources.Get "scss/anatole.scss" }}
{{ $style := $sassTemplate | resources.ExecuteAsTemplate "scss/main.scss" . | css.Sass | resources.Minify | resources.Fingerprint }}
{{ $style := $sassTemplate | resources.ExecuteAsTemplate "scss/main.scss" . | resources.ToCSS | resources.Minify | resources.Fingerprint }}
<link
rel="stylesheet"
href="{{ $style.RelPermalink }}"
Expand Down

0 comments on commit d84b5cc

Please sign in to comment.