fixed initial theme

This commit is contained in:
gpkvt 2023-06-06 22:31:29 +02:00
parent 70ff903457
commit 203777512a
1 changed files with 1 additions and 5 deletions

View File

@ -1,9 +1,5 @@
<!DOCTYPE html>
{%- if theme == "light" %}
<html lang="{{ i18n.lang }}" data-theme="light">
{%- else %}
<html lang="{{ i18n.lang }}" data-theme="dark">
{%- endif %}
<html lang="{{ i18n.lang }}" data-theme="{{ config.theme }}">
<head>
<title>{{ i18n.title }}</title>