Add conditional rendering for reason in 404 error template
This commit is contained in:
+3
-1
@@ -3,7 +3,9 @@
|
||||
{% block content %}
|
||||
<div class="">
|
||||
<h2>404 error</h2>
|
||||
{{ reason }}
|
||||
{% if reason %}
|
||||
{{ reason }}
|
||||
{% endif %}
|
||||
|
||||
{% if resolved %}
|
||||
<h3>{{ resolved }}</h3>
|
||||
|
||||
Reference in New Issue
Block a user