Files
b1tsblog/internal/web/templates/base.html
jbergner e266c9c78f
All checks were successful
release-tag / release-image (push) Successful in 1m49s
Alte Ressourcen entfernt, Favicon gesetzt
2025-05-05 21:37:29 +02:00

38 lines
1.3 KiB
HTML

{{ define "layout" }}
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
{{ if .Description }}
<meta name="description" content="{{ .Description }}">
{{ end }}
<title>{{ block "title" . }}B1tsblog{{ end }}</title>
<link rel="icon" type="image/vnd.icon" href="/static/img/favicon.ico">
<link rel="stylesheet" href="/static/main.css">
</head>
<body>
<header>
<h1><a href="/">B1tsblog</a></h1>
<nav class="main-nav">
<ul>
<li><a href="/">Startseite</a></li>
<li><a href="/page/welcome">Hallo! und Datenschutz</a></li>
<li><a href="/page/impressum">Impressum</a></li>
<!-- später: <li><a href="/page/datenschutz">Datenschutz</a></li> -->
</ul>
</nav>
</header>
<main class="wrapper">
{{ template "body" . }}
</main>
<footer class="wrapper">
© {{ now.Year }} · Jan Bergner / B1tsBlog
<hr>
Ich verzichte auf Cookies, affiliate Links, Tracking und die Einbindung von Drittanbieter-Diensten.
</footer>
</body>
</html>
{{ end }}