aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2021-08-26 04:55:30 +0000
committerr <r@freesoftwareextremist.com>2021-09-05 17:31:45 +0000
commit0b789ec276c44c10bacf647d55ed4495d7bc170b (patch)
tree24690b0595b5483be3682681f31f16adb3c21f8d /templates
parentecb19c874640e6cd792cac8f3276b9bdfbbe88a6 (diff)
downloadbloat-0b789ec276c44c10bacf647d55ed4495d7bc170b.tar.gz
bloat-0b789ec276c44c10bacf647d55ed4495d7bc170b.zip
Show spoiler text even when post content is emtpy
Diffstat (limited to 'templates')
-rw-r--r--templates/status.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/status.tmpl b/templates/status.tmpl
index 9109f4e..7ca8192 100644
--- a/templates/status.tmpl
+++ b/templates/status.tmpl
@@ -87,7 +87,7 @@
{{end}}
{{end}}
</div>
- {{if .Content}}
+ {{if (or .Content .SpoilerText)}}
<div class="status-content"> {{StatusContentFilter (html .SpoilerText) .Content .Emojis .Mentions}} </div>
{{end}}
{{if .MediaAttachments}}