add nsfw tags

This commit is contained in:
teddit 2020-12-23 16:55:37 +01:00
parent 836438dfeb
commit 74b6e76619
1 changed files with 3 additions and 1 deletions

View File

@ -96,7 +96,9 @@ html
span(class="to") to
a(href="/r/" + link.subreddit + "")
| #{link.subreddit}
p.comments
.links
if link.over_18
span.tag.nsfw NSFW
a(href="" + link.permalink + "", class="comments")
| #{link.num_comments} comments
#search