{{ define "layout" }}
<!DOCTYPE html>
<html lang="de">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width,initial-scale=1">
        <title>{{ block "title" . }}B1tsblog{{ end }}</title>
        <link rel="stylesheet" href="/static/main.css">
        <link rel="preconnect" href="https://fonts.gstatic.com">
        <!-- Monospace‑Font für Code (optional) -->
        <link href="https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500&display=swap" rel="stylesheet">
        <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap" rel="stylesheet">

    </head>
    <body>
        <header>
        <h1><a href="/">B1tsblog</a></h1>
        <nav class="main-nav">
            <ul>
                <li><a href="/">Startseite</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 }} · B1tK1ll3r
        </footer>
    </body>
</html>
{{ end }}