only include dark.css if dark theme is choosen

This commit is contained in:
bopol 2021-01-09 11:48:49 +01:00
parent d7440861ec
commit 18ca25b18a

View File

@ -1,5 +1,6 @@
if(user_preferences.theme === 'dark')
link(rel="stylesheet", type="text/css", href="/css/dark.css")
link(rel="stylesheet", type="text/css", href="/css/styles.css")
link(rel="stylesheet", type="text/css", href="/css/dark.css")
link(rel="icon", type="image/png", sizes="32x32", href="/favicon.png")
meta(name="viewport", content="width=device-width, initial-scale=1.0")
-