summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/banned.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/banned.html b/templates/banned.html
index b052cd41..401c36e5 100644
--- a/templates/banned.html
+++ b/templates/banned.html
@@ -77,7 +77,9 @@
</p>
<p>{% trans %}Your IP address is{% endtrans %} <strong>{{ ban.ip }}</strong>.</p>
- <p>{{ config.ban_page_message }}</p>
+ {% if config.ban_page_message %}
+ <p>{{ config.ban_page_message }}</p>
+ {% endif %}
</div>
{% endfilter %}