4166de5a4b
Go 1.22 net/http.ServeMux + html/template + http.FileServer for static. HTMX 2.0.10 vendored as web/static/htmx.min.js (NOT go get; G-006). base.html layout with nav to all 5 screens. home.html overview. ---ci--- project: oy phase: 1 milestone: v0.6 status: execute ---/ci---
29 lines
778 B
HTML
29 lines
778 B
HTML
{{define "base.html"}}
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>{{block "title" .}}OpenYield{{end}}</title>
|
|
<link rel="stylesheet" href="/static/style.css">
|
|
<script src="/static/htmx.min.js" defer></script>
|
|
</head>
|
|
<body>
|
|
<header class="nav">
|
|
<span class="brand">OpenYield</span>
|
|
<a href="/">Home</a>
|
|
<a href="/reach">Reach</a>
|
|
<a href="/stash">Stash</a>
|
|
<a href="/window">Window</a>
|
|
<a href="/standing">Standing</a>
|
|
<a href="/bloom">Bloom</a>
|
|
</header>
|
|
<main>
|
|
{{block "content" .}}{{end}}
|
|
</main>
|
|
<footer>
|
|
OpenYield — real production on the mesh. Reach, Stash, Window, Standing, Bloom.
|
|
</footer>
|
|
</body>
|
|
</html>
|
|
{{end}} |