Fixed darkmode

This commit is contained in:
gpkvt 2023-06-03 18:20:35 +02:00
parent 469492eb2d
commit ff6dbf7d04
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@
<head> <head>
<title>{{ title }}</title> <title>{{ title }}</title>
{%- if theme == "dark" %} {%- if theme == "dark" %}
<link rel="stylesheet" type="text/css" href="/css/light.css?t={{ epoch }}">
<link rel="stylesheet" type="text/css" href="/css/dark.css?t={{ epoch }}"> <link rel="stylesheet" type="text/css" href="/css/dark.css?t={{ epoch }}">
{%- elif theme == "light" %} {%- elif theme == "light" %}
<link rel="stylesheet" type="text/css" href="/css/light.css?t={{ epoch }}"> <link rel="stylesheet" type="text/css" href="/css/light.css?t={{ epoch }}">