Skip to content

Commit

Permalink
Swap deprecated function resources.ToCSS to css.Sass
Browse files Browse the repository at this point in the history
  • Loading branch information
mozoarella committed Nov 24, 2024
1 parent 7912751 commit b1c614b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/dylanmaassen/layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
{{ $normalize := resources.Get "scss/normalize.scss"}}
{{ $mainscss := resources.Get "scss/main.scss"}}
{{ $styling := slice $normalize $mainscss | resources.Concat "scss/styling.scss" | resources.ToCSS (dict "targetPath" "css/main.css" "outputStyle" "compressed" "enableSourceMap" false) }}
{{ $styling := slice $normalize $mainscss | resources.Concat "scss/styling.scss" | css.Sass (dict "targetPath" "css/main.css" "outputStyle" "compressed" "enableSourceMap" false) }}
{{/*<link rel="stylesheet" href="{{ $styling.Permalink }}">*/}}
<style>{{ safeCSS $styling.Content }}</style>
{{ if (isset $.Site.Params "fontawesomekit" )}}
Expand Down

0 comments on commit b1c614b

Please sign in to comment.