diff --git a/views/includes/topbar.pug b/views/includes/topbar.pug index 62ee573..8bae3b7 100644 --- a/views/includes/topbar.pug +++ b/views/includes/topbar.pug @@ -9,10 +9,12 @@ div#topbar a(href="/preferences") [preferences] .top-links if user_preferences.subbed_subreddits && Array.isArray(user_preferences.subbed_subreddits) + a(href="/r/popular") Popular a(href="/r/all") All each subreddit in user_preferences.subbed_subreddits a(href="/r/" + subreddit) #{subreddit} else + a(href="/r/popular") Popular a(href="/r/all") All a(href="/r/AskReddit") AskReddit a(href="/r/pics") pics