From 1f185f329bb82c87b250fb2312ae873d69a20d38 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sat, 22 Mar 2025 13:59:00 +0800 Subject: Use a custom errPage500 --- templates/500.tmpl | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 templates/500.tmpl (limited to 'templates/500.tmpl') diff --git a/templates/500.tmpl b/templates/500.tmpl new file mode 100644 index 0000000..2fe66b8 --- /dev/null +++ b/templates/500.tmpl @@ -0,0 +1,25 @@ +{{/* + SPDX-License-Identifier: AGPL-3.0-only + SPDX-FileContributor: Runxi Yu +*/}} +{{- define "500" -}} + + + + {{- template "head_common" . -}} + 500 Internal Server Error – {{ .global.forge_title }} + + + {{- template "header" . -}} +
+

500 Internal Server Error

+

{{- .complete_error_msg -}}

+
+
Lindenii Forge
+
+ + + +{{- end -}} -- cgit v1.2.3