guestbook/ui/html/base.tmpl.html

28 lines
759 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" }} - webweav.ing</title>
2024-10-16 04:34:57 +00:00
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="/static/css/style.css" rel="stylesheet">
<script src="/static/js/htmx.min.js"></script>
2024-10-16 04:34:57 +00:00
</head>
<body>
<header>
<h1><a href="/">webweav.ing</a></h1>
2024-10-16 04:34:57 +00:00
</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 }}