guestbook/ui/html/base.tmpl.html

27 lines
700 B
HTML
Raw Normal View History

2024-10-16 04:34:57 +00:00
{{ define "base" }}
<!DOCTYPE html>
<html lang="en">
<head>
<title>{{ template "title" }} - Guestbook</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="/static/css/style.css" rel="stylesheet">
2024-10-16 04:34:57 +00:00
</head>
<body>
<header>
<h1><a href="/">Guestbook</a></h1>
</header>
{{ template "nav" . }}
<main>
{{ with .Flash }}
<div class="flash">{{ . }}</div>
{{ end }}
2024-10-16 04:34:57 +00:00
{{ template "main" . }}
</main>
<footer>
2024-11-11 19:55:01 +00:00
<p>A 32bit.cafe Project</p>
2024-10-16 04:34:57 +00:00
</footer>
</body>
</html>
{{ end }}