diff --git a/views/saved.pug b/views/saved.pug index ac30e6c..d31f4b6 100644 --- a/views/saved.pug +++ b/views/saved.pug @@ -3,7 +3,7 @@ html head title saved include includes/head.pug - body(class=""+ user_preferences.theme +"") + body(class=""+ (user_preferences.theme === 'auto' ? 'dark' : user_preferences.theme) + "") include includes/topbar.pug if json === null h1 No saved posts diff --git a/views/subreddit_wiki.pug b/views/subreddit_wiki.pug index 9d2d2a6..bd09710 100644 --- a/views/subreddit_wiki.pug +++ b/views/subreddit_wiki.pug @@ -3,7 +3,7 @@ html head title wiki /r/#{subreddit} include includes/head.pug - body(class=""+ user_preferences.theme +"") + body(class=""+ (user_preferences.theme === 'auto' ? 'dark' : user_preferences.theme) + "") include includes/topbar.pug if json === null h1 Error occured