🐛 fix: properly check for theme_switcher setting

This commit is contained in:
welpo 2023-07-07 21:58:47 +02:00
parent f5603acbdb
commit f710b62631
No known key found for this signature in database
GPG Key ID: A2F978CF4EC1F5A6

View File

@ -62,7 +62,7 @@
{%- endif %} {%- endif %}
{# Theme switcher #} {# Theme switcher #}
{%- if config.extra.theme_switcher == true -%} {%- if config.extra.theme_switcher and config.extra.theme_switcher == true -%}
<li class="theme-switcher-wrapper"> <li class="theme-switcher-wrapper">
<div class="theme-switcher"></div> <div class="theme-switcher"></div>
</li> </li>