menu added
All checks were successful
Deploy to NAS / deploy (push) Successful in 1m47s

This commit is contained in:
Christoph K.
2026-04-09 22:28:02 +02:00
parent b73d91ccaa
commit 8eef933573
6 changed files with 37 additions and 22 deletions

View File

@@ -8,6 +8,16 @@
<link rel="stylesheet" href="/static/style.css">
</head>
<body>
<nav class="site-nav container">
<a href="/">Journal</a>
{{if .LoggedIn}}
<a href="/days">Tage</a>
{{if .IsAdmin}}<a href="/admin">Admin</a>{{end}}
<form method="post" action="/logout"><button type="submit" class="nav-btn">Ausloggen</button></form>
{{else}}
<a href="/login">Anmelden</a>
{{end}}
</nav>
{{block "content" .}}{{end}}
{{block "scripts" .}}{{end}}
</body>