From 5c7b6a77d9aff9f6a94de0f6ae551deefb320d58 Mon Sep 17 00:00:00 2001 From: minoplhy Date: Sun, 10 Mar 2024 23:37:32 +0700 Subject: [PATCH] hugo-bearblog : match *.css --- layouts/_default/baseof.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 5b6a69b..cb1c1d2 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -17,7 +17,7 @@ {{- /* CSS stylesheet */}} - {{- $stylesheet := (resources.Get "css/style.css") | resources.Minify }} + {{- $stylesheet := (resources.Match "css/*.css") | resources.Concat "css/style.css" | resources.Minify }} {{- if not site.Params.assets.disableFingerprinting }} {{- $stylesheet := $stylesheet | fingerprint }}