X-Git-Url: https://git.danix.xyz/?a=blobdiff_plain;f=layouts%2Fpartials%2Fhead.html;fp=layouts%2Fpartials%2Fhead.html;h=7b072e880b79eb787adde7d649440f389366f556;hb=c4e7e119c5f98879dc28baba0f3101074414f347;hp=31eb080fbf2ffd6a2bfed281b7eea043965f8f19;hpb=dd516ddc7ca6a360042bbb5dead5c56743082d7b;p=theme-danix.xyz.git diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 31eb080..7b072e8 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -3,9 +3,8 @@ - {{ $sass_options := (dict "targetPath" "css/site.css" "outputStyle" "compressed" "transpiler" "dartsass") }} - {{ $sass_template := resources.Get "sass/main.scss" }} - {{ $main_style := $sass_template | resources.toCSS $sass_options }} + {{ $sass_options := (dict "targetPath" "css/style.css" "outputStyle" "compressed" "transpiler" "dartsass" "enableSourceMap" (not hugo.IsProduction)) }} + {{ $main_style := resources.Get "sass/main.scss" | resources.toCSS $sass_options }}