From 3e30557dca2b1d378e959eb0af41fa96fadfaf9c Mon Sep 17 00:00:00 2001 From: welpo Date: Sat, 28 Oct 2023 21:24:28 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(skins):=20load=20`teal`=20if?= =?UTF-8?q?=20set=20in=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/atom.xml | 2 +- templates/partials/header.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/atom.xml b/templates/atom.xml index c3cd2ee..b2f31bc 100644 --- a/templates/atom.xml +++ b/templates/atom.xml @@ -20,7 +20,7 @@ {#- Load extra CSS (skin) if set in config.toml -#} - {%- if config.extra.skin and config.extra.skin != "teal" -%} + {%- if config.extra.skin -%} {%- endif -%} diff --git a/templates/partials/header.html b/templates/partials/header.html index 8c4b89d..110680f 100644 --- a/templates/partials/header.html +++ b/templates/partials/header.html @@ -41,7 +41,7 @@ {%- endif -%} {# Load extra CSS for custom skin #} - {%- if config.extra.skin and config.extra.skin != "teal" -%} + {%- if config.extra.skin -%} {%- set stylesheets = stylesheets | concat(with='skins/' ~ config.extra.skin ~ '.css') -%} {%- endif -%}