Correct order of appending stylesheets

This commit is contained in:
Gabriel Arazas 2022-11-22 19:46:42 +08:00
parent 94c3907832
commit 8f3cd78b1a

View File

@ -10,7 +10,7 @@
{{- $siteSpecificTheme := resources.Get "templates/site.scss" | resources.ExecuteAsTemplate "css/site.css" . | resources.ToCSS }}
{{- /* Append the main stylesheet to be the last so the resulting stylesheet will make the custom colorschemes at the front. */ -}}
{{ $stylesheets = $stylesheets | append $themes $main $siteSpecificTheme }}
{{ $stylesheets = $stylesheets | append $themes $siteSpecificTheme $main }}
{{ $style := $stylesheets | resources.Concat "css/main.css" }}