This commit is contained in:
Jannik Menzel 2025-05-09 01:07:20 +02:00
commit 25c9dc1586
33 changed files with 588 additions and 0 deletions

View file

@ -0,0 +1,24 @@
<!DOCTYPE html>
<html lang="{{ site.Language.LanguageCode }}" dir="auto">
<head>
{{ partial "head.html" . }}
<title></title>
</head>
<body>
<header>
<div class="container">
{{ partial "nav.html" . }}
</div>
</header>
<main>
<div class="container">
{{ block "main" . }}{{ end }}
</div>
</main>
<footer>
<div class="container">
{{ partial "footer.html" . }}
</div>
</footer>
</body>
</html>

View file

@ -0,0 +1,4 @@
{{ define "main" }}
{{ partial "hero.html" . }}
{{ .Content }}
{{ end }}

View file

@ -0,0 +1,8 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ range .Pages }}
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
{{ .Summary }}
{{ end }}
{{ end }}

View file

@ -0,0 +1,3 @@
{{ define "main" }}
{{ .Content }}
{{ end }}