Merge pull request 'Fixed: Incorrect theme for some pages' (#180) from meyagci/teddit:main into main

Reviewed-on: https://codeberg.org/teddit/teddit/pulls/180
This commit is contained in:
teddit 2021-04-02 09:30:46 +02:00
commit ed4c99fbbc
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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