Läuft
This commit is contained in:
@@ -1,15 +1,30 @@
|
||||
<!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">
|
||||
</head>
|
||||
<body>
|
||||
<header><h1><a href="/">B1tsblog</a></h1></header>
|
||||
<main>{{ block "body" . }}{{ end }}</main>
|
||||
<footer>© {{ now.Year }}</footer>
|
||||
</body></html>
|
||||
{{ 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">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1><a href="/">B1tsblog</a></h1>
|
||||
<nav>
|
||||
<!-- Platz für spätere Links -->
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main class="wrapper">
|
||||
{{ template "body" . }}
|
||||
</main>
|
||||
|
||||
<footer class="wrapper">
|
||||
© {{ now.Year }} · Powered by Go
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
{{ end }}
|
Reference in New Issue
Block a user