🐛 fix: set proper color-scheme meta
This commit is contained in:
parent
090ebcafec
commit
638d75c819
@ -36,7 +36,7 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<meta name="color-scheme" content="light dark">
|
<meta name="color-scheme" content="{%- if config.extra.theme_switcher -%}light dark{%- elif config.extra.default_theme -%}{{config.extra.default_theme}}{%- else -%}light{%- endif -%}">
|
||||||
|
|
||||||
{%- if page.description %}
|
{%- if page.description %}
|
||||||
<meta name="description" content="{{ page.description | striptags | safe }}" />
|
<meta name="description" content="{{ page.description | striptags | safe }}" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user