From: Michael Tremer Date: Tue, 9 Jan 2024 16:56:57 +0000 (+0000) Subject: error-pages: Include the error code X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1cf335fcac70dc8e0f4f13a9755bfde0f63c8371;p=ipfire.org.git error-pages: Include the error code Signed-off-by: Michael Tremer --- diff --git a/src/error-pages/500.markdown b/src/error-pages/500.markdown index 3f4da47f..120b72d5 100644 --- a/src/error-pages/500.markdown +++ b/src/error-pages/500.markdown @@ -1,5 +1,6 @@ --- layout: error +error-code: 500 error-description: Internal Server Error --- diff --git a/src/error-pages/_layouts/error.html b/src/error-pages/_layouts/error.html index 6b62622b..19c7504a 100644 --- a/src/error-pages/_layouts/error.html +++ b/src/error-pages/_layouts/error.html @@ -35,7 +35,7 @@

Oops, Something Went Wrong

{% if page.error-description %} -

{{ page.error-description }}

+

{{ page.error-code }} ‐ {{ page.error-description }}

{% endif %}