From a0850c0030ecd48d83eb947c55b0d8237de87e35 Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 2 Feb 2026 16:41:11 +0000 Subject: [PATCH] Add conditional rendering for reason in 404 error template --- templates/404.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/404.html b/templates/404.html index 0146aa0d..7f35606d 100644 --- a/templates/404.html +++ b/templates/404.html @@ -3,7 +3,9 @@ {% block content %}

404 error

- {{ reason }} + {% if reason %} + {{ reason }} + {% endif %} {% if resolved %}

{{ resolved }}