Proper theme basis

This commit is contained in:
Nox Sluijtman 2022-08-18 14:17:23 +02:00
parent f474eb76e0
commit 9b0b8dfcf1
27 changed files with 318 additions and 102 deletions

View file

@ -0,0 +1,22 @@
<!DOCTYPE html>
<html lang="{{ $.Site.Language }}">
<head>
{{ block "title" . }}
<title>{{ if .IsHome }}{{ $.Site.Title }}{{ else }}{{ .Title }} | {{ $.Site.Title }}{{ end }}</title>
{{ end }}
{{ partial "head.html" . }}
</head>
<body>
{{ partial "logo.html" . }}
{{ partial "menu.html" . }}
<h1 class="page-head">{{ .Title | markdownify }}</h1>
<main>
{{ block "main" . }}
{{ end }}
</main>
{{ block "footer" . }}
{{ partial "footer.html" . }}
{{ end }}
</body>
</html>