quartzgun/testData/templates/error.html

18 lines
429 B
HTML
Raw Normal View History

2022-01-08 20:31:10 +00:00
{{ $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 &mdash; error</title>
</head>
<body>
<header><h1>{{ $params.ErrorCode }}</h1></header>
<main>
{{ $params.ErrorMessage }}
</main>
{{ template "footer" .}}