diff --git a/views/subreddit.pug b/views/subreddit.pug index db7e360..681b6c6 100644 --- a/views/subreddit.pug +++ b/views/subreddit.pug @@ -48,6 +48,8 @@ html a(href="/r/" + subreddit + "/controversial") controversial li(class=sortby === 'top' ? 'active' : '') a(href="/r/" + subreddit + "/top") top + li + a(href="/r/" + subreddit + "/wiki") wiki #links.sr if sortby === 'top' || sortby === 'controversial' details diff --git a/views/subreddit_wiki.pug b/views/subreddit_wiki.pug index 836d2c4..9d2d2a6 100644 --- a/views/subreddit_wiki.pug +++ b/views/subreddit_wiki.pug @@ -15,7 +15,20 @@ html h1 teddit .bottom a(href="/r/" + subreddit + "", class="subreddit") - h2 wiki - #{subreddit} - .wiki-content + h2 #{subreddit} + ul.tabmenu + li + a(href="/r/" + subreddit) hot + li + a(href="/r/" + subreddit + "/new") new + li + a(href="/r/" + subreddit + "/rising") rising + li + a(href="/r/" + subreddit + "/controversial") controversial + li + a(href="/r/" + subreddit + "/top") top + li(class="active") + a(href="/r/" + subreddit + "/wiki") wiki + .wiki-page.wiki-content != content_html include includes/footer.pug