X-Git-Url: https://git.danix.xyz/?a=blobdiff_plain;f=layouts%2Fpartials%2Fhead.html;h=e100d069edb20143129455c58043bda88dbec5b9;hb=9717faaab5f135898f88699820a139e3044212de;hp=f7beaee3401d7ef999ef532b9f6b7712d067bc33;hpb=fa4761127c8fa56df90ad4795c96d4e8470e03d4;p=theme-danix.xyz.git diff --git a/layouts/partials/head.html b/layouts/partials/head.html index f7beaee..e100d06 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -3,15 +3,10 @@ - {{ $main_options := (dict "targetPath" "css/site.css" "outputStyle" "compressed") }} - {{ $main_template := resources.Get "sass/main.scss" }} - {{ $main_style := $main_template | resources.toCSS $main_options | resources.Minify }} + {{ $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 }} - - - - + {{ partial "funcs/favicon.html" . }}