From 1aff0569bfecf427d097a1601d9c5ac449c65d49 Mon Sep 17 00:00:00 2001 From: r Date: Tue, 31 Dec 2019 11:00:21 +0000 Subject: Add option to mask nsfw attachments --- templates/status.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/status.tmpl') diff --git a/templates/status.tmpl b/templates/status.tmpl index 4c94062..2013f47 100644 --- a/templates/status.tmpl +++ b/templates/status.tmpl @@ -61,7 +61,7 @@ {{if eq .Type "image"}} status-image - {{if $.Sensitive}} + {{if (and $.MaskNSFW $.Sensitive)}}
{{end}}
@@ -76,7 +76,7 @@

Your browser doesn't support HTML5 video

- {{if $.Sensitive}} + {{if (and $.MaskNSFW $.Sensitive)}}
{{end}} -- cgit v1.2.3