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">
|
2024-10-23 05:25:30 +00:00
|
|
|
<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>
|
2024-10-23 05:25:30 +00:00
|
|
|
{{ 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 }}
|