diff --git a/views/includes/head.pug b/views/includes/head.pug index 8cd1be7..588875f 100644 --- a/views/includes/head.pug +++ b/views/includes/head.pug @@ -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") -