From 74b6e76619dacd2e261c551e3dab6c7163cfff86 Mon Sep 17 00:00:00 2001 From: teddit Date: Wed, 23 Dec 2020 16:55:37 +0100 Subject: [PATCH] add nsfw tags --- views/index.pug | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/views/index.pug b/views/index.pug index e6244f6..d313ac2 100644 --- a/views/index.pug +++ b/views/index.pug @@ -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