From: danix Date: Mon, 23 Jan 2023 18:41:29 +0000 (+0100) Subject: added sass pipeline for main stylesheet X-Git-Url: https://git.danix.xyz/?a=commitdiff_plain;h=a3fbbedb069339e83eed7c99d5e07270613580af;p=theme-danix.xyz.git added sass pipeline for main stylesheet --- diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 1444f5d..69a8cea 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -2,8 +2,16 @@ - - + + {{ $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 }} + + + + + {{ partial "funcs/favicon.html" . }}