diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 07d4f77..bb214f3 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -13,14 +13,14 @@ {{ $localColorCss := resources.Get (printf "css/color/%s.scss" .Params.color) }} {{ $localCss := slice $localColorCss $defaultStyles | resources.Concat (printf "css/%s-local.scss" .Params.color) }} {{ $localColorStyles := $localCss | resources.ToCSS }} - + {{ else }} {{ $colorCss := resources.Get (printf "css/color/%s.scss" ($.Site.Params.ThemeColor | default "orange")) }} {{ $css := slice $colorCss $defaultStyles | resources.Concat "css/base.scss" }} - {{ $options := (dict "targetPath" "style.css" "outputStyle" "compressed" "enableSourceMap" true "precision" 6 "includePaths" (slice "node_modules")) }} + {{ $options := (dict "targetPath" "styles.css" "outputStyle" "compressed" "enableSourceMap" true "precision" 6 "includePaths" (slice "node_modules")) }} {{ $styles := $css | resources.ToCSS $options }} - + {{ end }}