aboutsummaryrefslogtreecommitdiff
path: root/templates/501.tmpl
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-25 12:49:28 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-25 12:49:28 +0800
commit999bb7d65ecf61f59f8d54a60362307537e49030 (patch)
tree2f5d76e82d3b178b5dcb08182c8690534e446407 /templates/501.tmpl
parentRemove unnecessary whitespace in branches template (diff)
downloadforge-999bb7d65ecf61f59f8d54a60362307537e49030.tar.gz
forge-999bb7d65ecf61f59f8d54a60362307537e49030.tar.zst
forge-999bb7d65ecf61f59f8d54a60362307537e49030.zip
Add 403 and 501 pages
Diffstat (limited to 'templates/501.tmpl')
-rw-r--r--templates/501.tmpl24
1 files changed, 24 insertions, 0 deletions
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 <https://runxiyu.org>
+*/}}
+{{- define "501" -}}
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ {{- template "head_common" . -}}
+ <title>501 Not Implemented &ndash; {{ .global.forge_title }}</title>
+ </head>
+ <body class="501">
+ {{- template "header" . -}}
+ <div class="padding-wrapper complete-error-page">
+ <h1>501 Not Implemented</h1>
+ <hr />
+ <address>Lindenii Forge</address>
+ </div>
+ <footer>
+ {{- template "footer" . -}}
+ </footer>
+ </body>
+</html>
+{{- end -}}