From 9574eabd56758ae048cee7ba1edb08bac91fa7fc Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Sat, 15 Feb 2025 23:27:09 -0600 Subject: very minor style changes and now use local resource stylesheets + serve theme stylesheets minified from assets --- layouts/_default/baseof.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'layouts/_default') diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 18ea135..13b6058 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -6,8 +6,12 @@ {{ $title | title }} - - + {{ $css := resources.Match "stylesheets/*.css" | resources.Concat "style.css" | minify | fingerprint }} + + {{ with $.Resources.GetMatch "**.css*" }} + {{ $style := . | minify | fingerprint }} + + {{ end }} {{- block "head" . }}{{- end }} -- cgit v1.2.3