diff options
Diffstat (limited to 'templates/status.tmpl')
-rw-r--r-- | templates/status.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
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"}} <a class="img-link" href="{{.URL}}" target="_blank"> <img class="status-image" src="{{.URL}}" alt="status-image" /> - {{if $.Sensitive}} + {{if (and $.MaskNSFW $.Sensitive)}} <div class="status-nsfw-overlay"></div> {{end}} </a> @@ -76,7 +76,7 @@ <source src="{{.URL}}"> <p> Your browser doesn't support HTML5 video </p> </video> - {{if $.Sensitive}} + {{if (and $.MaskNSFW $.Sensitive)}} <div class="status-nsfw-overlay"></div> {{end}} </div> |