quartzgun/testData/templates/paramTest.html

19 lines
459 B
HTML

{{ $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='stylesheet' type='text/css' href='/style.css'>
<link rel='shortcut icon' href='/favicon.ico'>
<title>test &mdash; thing</title>
</head>
<body>
<header><h1>nilFM</h1></header>
<main>
{{ $params.Thing }}
</main>
</body>
</html>