X-Git-Url: https://git.danix.xyz/?a=blobdiff_plain;f=layouts%2Fpartials%2Fhead.html;h=e100d069edb20143129455c58043bda88dbec5b9;hb=b8ef5fe023a064d1e609b257786822095d85bb96;hp=69a8cea7386b3b930f221208989ff8a7f8b85d3c;hpb=a3fbbedb069339e83eed7c99d5e07270613580af;p=theme-danix.xyz.git diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 69a8cea..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.ExecuteAsTemplate "main_parsed.scss" . | 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" . }}