🐛 fix(skins): load teal if set in config

This commit is contained in:
welpo 2023-10-28 21:24:28 +02:00
parent 4d12cfe3fa
commit 3e30557dca
No known key found for this signature in database
GPG Key ID: A2F978CF4EC1F5A6
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@
</str:translations> </str:translations>
{#- Load extra CSS (skin) if set in config.toml -#} {#- Load extra CSS (skin) if set in config.toml -#}
{%- if config.extra.skin and config.extra.skin != "teal" -%} {%- if config.extra.skin -%}
<link rel="extra-stylesheet" href="{{ get_url(path='skins/' ~ config.extra.skin ~ '.css', cachebust=true) | safe }}" /> <link rel="extra-stylesheet" href="{{ get_url(path='skins/' ~ config.extra.skin ~ '.css', cachebust=true) | safe }}" />
{%- endif -%} {%- endif -%}

View File

@ -41,7 +41,7 @@
{%- endif -%} {%- endif -%}
{# Load extra CSS for custom skin #} {# 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') -%} {%- set stylesheets = stylesheets | concat(with='skins/' ~ config.extra.skin ~ '.css') -%}
{%- endif -%} {%- endif -%}