Skip to content

Commit

Permalink
🐛 fix(skins): load teal if set in config
Browse files Browse the repository at this point in the history
  • Loading branch information
welpo authored and Smtbook committed Feb 29, 2024
1 parent 0adcd02 commit b1dd032
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/atom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</str:translations>

{#- 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 }}" />
{%- endif -%}

Expand Down
2 changes: 1 addition & 1 deletion templates/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 -%}

Expand Down

0 comments on commit b1dd032

Please sign in to comment.