mirror of
https://codeberg.org/tacerus/teddit.git
synced 2024-11-26 09:09:27 +01:00
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
|
||||
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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user