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