From 999bb7d65ecf61f59f8d54a60362307537e49030 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 25 Mar 2025 12:49:28 +0800 Subject: Add 403 and 501 pages --- templates/403.tmpl | 25 +++++++++++++++++++++++++ templates/501.tmpl | 24 ++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 templates/403.tmpl create mode 100644 templates/501.tmpl (limited to 'templates') diff --git a/templates/403.tmpl b/templates/403.tmpl new file mode 100644 index 0000000..62a2654 --- /dev/null +++ b/templates/403.tmpl @@ -0,0 +1,25 @@ +{{/* + SPDX-License-Identifier: AGPL-3.0-only + SPDX-FileContributor: Runxi Yu +*/}} +{{- define "403" -}} + + + + {{- template "head_common" . -}} + 403 Forbidden – {{ .global.forge_title }} + + + {{- template "header" . -}} +
+

403 Forbidden

+

{{- .complete_error_msg -}}

+
+
Lindenii Forge
+
+
+ {{- template "footer" . -}} +
+ + +{{- end -}} diff --git a/templates/501.tmpl b/templates/501.tmpl new file mode 100644 index 0000000..b49bc36 --- /dev/null +++ b/templates/501.tmpl @@ -0,0 +1,24 @@ +{{/* + SPDX-License-Identifier: AGPL-3.0-only + SPDX-FileContributor: Runxi Yu +*/}} +{{- define "501" -}} + + + + {{- template "head_common" . -}} + 501 Not Implemented – {{ .global.forge_title }} + + + {{- template "header" . -}} +
+

501 Not Implemented

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