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

main
welpo 1 year ago
parent 4d12cfe3fa
commit 3e30557dca
No known key found for this signature in database
GPG Key ID: A2F978CF4EC1F5A6

@ -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 -%}

@ -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 -%}

Loading…
Cancel
Save