From 12187f5ecc46001b5fcd04ed5ce3662503df346c Mon Sep 17 00:00:00 2001 From: Paul Winkler Date: Sun, 9 Jul 2023 02:07:35 -0400 Subject: [PATCH] gum: Add optional CUSTOM_CSS setting --- gum/README.md | 3 +++ gum/templates/base.html | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gum/README.md b/gum/README.md index 2a2380534..5db6c1099 100644 --- a/gum/README.md +++ b/gum/README.md @@ -48,8 +48,11 @@ Other features include: ``` SITESUBTITLE = 'your site subtitle' + +CUSTOM_CSS = 'path to some optional css overrides file' ``` + The following standard Pelican settings are honored: ``` diff --git a/gum/templates/base.html b/gum/templates/base.html index 998cac0ae..3ae01d4f9 100644 --- a/gum/templates/base.html +++ b/gum/templates/base.html @@ -37,7 +37,9 @@ - + {% if CUSTOM_CSS %} + + {% endif %}