mirror of
https://codeberg.org/tacerus/teddit.git
synced 2024-11-23 07:19:28 +01:00
add /r/popular to the top bar
This commit is contained in:
parent
c0f9f2e932
commit
5c36061261
@ -9,10 +9,12 @@ div#topbar
|
|||||||
a(href="/preferences") [preferences]
|
a(href="/preferences") [preferences]
|
||||||
.top-links
|
.top-links
|
||||||
if user_preferences.subbed_subreddits && Array.isArray(user_preferences.subbed_subreddits)
|
if user_preferences.subbed_subreddits && Array.isArray(user_preferences.subbed_subreddits)
|
||||||
|
a(href="/r/popular") Popular
|
||||||
a(href="/r/all") All
|
a(href="/r/all") All
|
||||||
each subreddit in user_preferences.subbed_subreddits
|
each subreddit in user_preferences.subbed_subreddits
|
||||||
a(href="/r/" + subreddit) #{subreddit}
|
a(href="/r/" + subreddit) #{subreddit}
|
||||||
else
|
else
|
||||||
|
a(href="/r/popular") Popular
|
||||||
a(href="/r/all") All
|
a(href="/r/all") All
|
||||||
a(href="/r/AskReddit") AskReddit
|
a(href="/r/AskReddit") AskReddit
|
||||||
a(href="/r/pics") pics
|
a(href="/r/pics") pics
|
||||||
|
Loading…
Reference in New Issue
Block a user