diff options
author | Thomas Voss <mail@thomasvoss.com> | 2025-07-23 20:01:32 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2025-07-23 20:01:32 +0200 |
commit | 1593a094e1e9cf3006a084883539533856e1b535 (patch) | |
tree | 493e016c3d07f8428bc1d8a7ffb4b69190f8816d /src/templates/-404.html.tmpl | |
parent | 5f1bd49cfef5852bbd539754fb31e8adada29ef3 (diff) |
Use a semi-in-house translation system
Diffstat (limited to 'src/templates/-404.html.tmpl')
-rw-r--r-- | src/templates/-404.html.tmpl | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/templates/-404.html.tmpl b/src/templates/-404.html.tmpl index c86dc30..06ac02b 100644 --- a/src/templates/-404.html.tmpl +++ b/src/templates/-404.html.tmpl @@ -1,16 +1,12 @@ {{ define "content" }} <header> {{ template "navbar" . }} - <h1>{{ .T "Page Not Found" }}</h1> + <h1>{{ .Get "Page Not Found" }}</h1> </header> <main> <p> - {{ .T ` - The page you were looking for does not exist. If you believe this - is a mistake then don’t hesitate to contact @onetruemangoman on - Discord or email us at %s.` - `<a href="mailto:mail@euro-cash.eu">mail@euro-cash.eu</a>` | safe - }} + {{ .Get "The page you were looking for does not exist. If you believe this is a mistake then don’t hesitate to contact ‘@onetruemangoman’ on Discord or email us at %(Email:e)." + (map "Email" "mail@euro-cash.eu") }} </p> </main> -{{ end }} +{{ end }}
\ No newline at end of file |