diff options
author | Runxi Yu <me@runxiyu.org> | 2025-04-06 09:33:11 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-04-06 09:34:06 +0800 |
commit | c9b4eee4c589b8b40c02d0c96f887ec991580a24 (patch) | |
tree | 0ab3f2a22e9c4ca430573559d5712a4a7a6903a3 /templates/400_colon.tmpl | |
parent | Move the Go stuff to ./forged/ (diff) | |
download | forge-c9b4eee4c589b8b40c02d0c96f887ec991580a24.tar.gz forge-c9b4eee4c589b8b40c02d0c96f887ec991580a24.tar.zst forge-c9b4eee4c589b8b40c02d0c96f887ec991580a24.zip |
Restructure static/templates into forged
Diffstat (limited to 'templates/400_colon.tmpl')
-rw-r--r-- | templates/400_colon.tmpl | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/templates/400_colon.tmpl b/templates/400_colon.tmpl deleted file mode 100644 index 470a685..0000000 --- a/templates/400_colon.tmpl +++ /dev/null @@ -1,26 +0,0 @@ -{{/* - SPDX-License-Identifier: AGPL-3.0-only - SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org> -*/}} -{{- define "400_colon" -}} -<!DOCTYPE html> -<html lang="en"> - <head> - {{- template "head_common" . -}} - <title>400 Bad Request – {{ .global.forge_title }}</title> - </head> - <body class="400-colon"> - {{- template "header" . -}} - <div class="padding-wrapper complete-error-page"> - <h1>400 Bad Request</h1> - <p>We recently switched URL schemes. Previously “<code>:</code>” was used as our URL group separator, but because OpenSMTPD does not implement local-part address quoting properly, we’re unable to include “<code>:</code>” in URLs properly, hence we use “<code>-</code>” now.</p> - <p>As a precaution in case visitors get confused, this page was set up. <strong>You should probably replace the “<code>:</code>”s with “<code>-</code>”s in the URL bar.</strong> If there are colons in the URL that <em>is not</em> the group separator—that’s an edge case that we’ll fix later.</p> - <hr /> - <address>Lindenii Forge</address> - </div> - <footer> - {{- template "footer" . -}} - </footer> - </body> -</html> -{{- end -}} |