From d6592fd40922b59ff3b9afe6123cb32972eb003f Mon Sep 17 00:00:00 2001
From: "C. Lente" <7017340+clente@users.noreply.github.com>
Date: Mon, 13 Feb 2023 17:59:27 -0300
Subject: Automatically fetch extra styles
---
layouts/_default/baseof.html | 5 +++++
1 file changed, 5 insertions(+)
(limited to 'layouts/_default/baseof.html')
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 2f06d5a..7aa0605 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -17,6 +17,11 @@
{{ $syntax := resources.Get "syntax.css" | minify }}
+ {{ with .Params.style }}
+ {{ $extra := resources.Get . | minify }}
+
+ {{ end }}
+
{{ with .OutputFormats.Get "rss" -}}
{{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
--
cgit v1.2.3