From 4c47c4c4d937e07ffa9401e084e10c25703f085a Mon Sep 17 00:00:00 2001 From: "Jens M. Sauer" Date: Sun, 28 Jul 2024 18:36:41 +0200 Subject: [PATCH] Load all css files at once --- layouts/partials/head.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 5cc96a3..9326ae3 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -23,7 +23,8 @@ {{ $noscript := resources.Get "sass/noscript.scss" | resources.ExecuteAsTemplate "noscript.scss" . | toCSS (dict "targetPath" "css/noscript.css" "enableSourceMap" false) }} {{end}} - {{ with resources.Get "css/source-sans.css" | minify | fingerprint }} + + {{ with resources.Match "css/*.css" | resources.Concat "css/bundle.css" | minify | fingerprint }} {{ end }}