remove subreddit names in multireddit view

This commit is contained in:
teddit 2020-12-06 21:15:43 +01:00
parent d6ee9e9623
commit 0103e5fb7a
1 changed files with 3 additions and 2 deletions

View File

@ -16,8 +16,9 @@ html
a(href="/", class="main")
h1 teddit
.bottom
a(href="/r/" + subreddit + "", class="subreddit")
h2 #{subreddit}
if !subreddit.includes('+')
a(href="/r/" + subreddit + "", class="subreddit")
h2 #{subreddit}
ul.tabmenu
li(class=!sortby || sortby == 'hot' ? 'active' : '')
a(href="/r/" + subreddit) hot