aboutsummaryrefslogtreecommitdiff
path: root/templates/400.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/400.tmpl')
-rw-r--r--templates/400.tmpl25
1 files changed, 25 insertions, 0 deletions
diff --git a/templates/400.tmpl b/templates/400.tmpl
new file mode 100644
index 0000000..1fcd5d9
--- /dev/null
+++ b/templates/400.tmpl
@@ -0,0 +1,25 @@
+{{/*
+ SPDX-License-Identifier: AGPL-3.0-only
+ SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+*/}}
+{{- define "400" -}}
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ {{- template "head_common" . -}}
+ <title>400 Bad Request &ndash; {{ .global.forge_title }}</title>
+ </head>
+ <body class="400">
+ {{- template "header" . -}}
+ <div class="padding-wrapper complete-error-page">
+ <h1>400 Bad Request</h1>
+ <p>{{- .bad_request_msg -}}</p>
+ <hr />
+ <address>Lindenii Forge</address>
+ </div>
+ <footer>
+ {{- template "footer" . -}}
+ </footer>
+ </body>
+</html>
+{{- end -}}