- {{ $main_style := resources.Get "sass/main.scss" | resources.toCSS }}
- <link rel="stylesheet" href="{{ $main_style.RelPermalink }}">
+ {{ $style_options := (dict "targetPath" "css/style.css" "outputStyle" "compressed" "transpiler" "dartsass" "enableSourceMap" (not hugo.IsProduction)) }}
+ {{ $style := resources.Get "sass/main.scss" | resources.ToCSS $style_options }}