We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30b7916 commit 502c49dCopy full SHA for 502c49d
layouts/partials/head.html
@@ -6,7 +6,7 @@
6
{{/* Load Bootstrap SCSS */}}
7
{{ $options := dict "enableSourceMap" true }}{{ if hugo.IsProduction}}{{ $options := dict "enableSourceMap" false "outputStyle" "compressed" }}{{ end }}
8
{{ $styles := resources.Get "scss/styles.scss" }}
9
-{{ $styles = $styles | resources.ToCSS $options }}{{ if hugo.IsProduction }}{{ $styles = $styles | minify | fingerprint }}{{ end }}
+{{ $styles = $styles | css.Sass $options }}{{ if hugo.IsProduction }}{{ $styles = $styles | minify | fingerprint }}{{ end }}
10
<link rel="stylesheet" href="{{ $styles.RelPermalink }}">
11
<link rel="stylesheet" href="/fonts/bootstrap-icons.min.css">
12
0 commit comments