add wiki links to subreddit view
This commit is contained in:
parent
80ed4f1550
commit
5f5397e9e3
|
@ -48,6 +48,8 @@ html
|
||||||
a(href="/r/" + subreddit + "/controversial") controversial
|
a(href="/r/" + subreddit + "/controversial") controversial
|
||||||
li(class=sortby === 'top' ? 'active' : '')
|
li(class=sortby === 'top' ? 'active' : '')
|
||||||
a(href="/r/" + subreddit + "/top") top
|
a(href="/r/" + subreddit + "/top") top
|
||||||
|
li
|
||||||
|
a(href="/r/" + subreddit + "/wiki") wiki
|
||||||
#links.sr
|
#links.sr
|
||||||
if sortby === 'top' || sortby === 'controversial'
|
if sortby === 'top' || sortby === 'controversial'
|
||||||
details
|
details
|
||||||
|
|
|
@ -15,7 +15,20 @@ html
|
||||||
h1 teddit
|
h1 teddit
|
||||||
.bottom
|
.bottom
|
||||||
a(href="/r/" + subreddit + "", class="subreddit")
|
a(href="/r/" + subreddit + "", class="subreddit")
|
||||||
h2 wiki - #{subreddit}
|
h2 #{subreddit}
|
||||||
.wiki-content
|
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
|
!= content_html
|
||||||
include includes/footer.pug
|
include includes/footer.pug
|
||||||
|
|
Loading…
Reference in New Issue