templates/error.html (raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
{{ $params := (.Context).Value "params" }} <!DOCTYPE html> <html lang='en'> <head> <meta charset='utf-8'> <meta name='viewport' content='width=device-width,initial-scale=1'> <link rel='shortcut icon' href='/favicon.ico'> <title>test — error</title> </head> <body> <header><h1>{{ $params.ErrorCode }}</h1></header> <main> {{ $params.ErrorMessage }} </main> {{ template "footer" .}} |