From 8f3cd78b1ad7ba0e31cf853ad3b12b4a5f15a8be Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Tue, 22 Nov 2022 19:46:42 +0800 Subject: [PATCH] Correct order of appending stylesheets --- layouts/partials/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 0b64971..9c6ed44 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -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" }}