diff options
Diffstat (limited to 'src/templates/-error.html.tmpl')
-rw-r--r-- | src/templates/-error.html.tmpl | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/src/templates/-error.html.tmpl b/src/templates/-error.html.tmpl index 47bff81..198318d 100644 --- a/src/templates/-error.html.tmpl +++ b/src/templates/-error.html.tmpl @@ -1,3 +1,7 @@ +{{ define "header" }} +{{ template "header-navbar" . }} +{{ end }} + {{ define "content" }} <header> {{ template "navbar" . }} @@ -5,19 +9,11 @@ </header> <main> <p> - {{ .T ` - If you’re seeing this page, it means that something went wrong on - our end that we need to fix. Our team has been notified of this - error, and we apologise for the inconvenience. - ` }} + {{ .Get "If you’re seeing this page, it means that something went wrong on our end that we need to fix. Our team has been notified of this error, and we apologise for the inconvenience." }} </p> <p> - {{ .T ` - If this issue persists, don’t hesitate to contact @onetruemangoman - on Discord or to email us at %s.` - `<a href="https://git.thomasvoss.com/www.euro-cash.eu" - target="_blank">` | safe - }} + {{ .Get "If this issue persists, don’t hesitate to contact ‘@onetruemangoman’ on Discord or to email us at {Email:e}" + (map "Email" "mail@euro-cash.eu") }} </p> </main> -{{ end }} +{{ end }}
\ No newline at end of file |