35 lines
1.2 KiB
HTML
35 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="{{ .Lang }}" prefix="og: https://ogp.me/ns#" class="h-full">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
{{- hugo.Generator -}}
|
|
{{- partial "head.html" . -}}
|
|
{{- partial "head_custom.html" . -}}
|
|
</head>
|
|
<body class="flex flex-col h-full">
|
|
{{- partial "dev/dev-tools.html" . -}}
|
|
<header class="w-full border-b border-grey p-4">
|
|
{{- partial "header.html" . -}}
|
|
</header>
|
|
<main id="content" class="flex-1 container {{ if .IsHome }}max-w-5xl {{ end }}mx-auto p-8 kind-{{ .Kind | lower }}">
|
|
{{ if not .IsHome }}
|
|
{{ if not .Parent.IsHome }}
|
|
{{ partial "breadcrumb.html" . }}
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ block "main" . }}{{ end }}
|
|
{{ if not .IsHome }}
|
|
{{ if .Content }}
|
|
{{ partial "gitinfo.html" . }}
|
|
{{ end }}
|
|
{{ end }}
|
|
</main>
|
|
<footer class="w-full text-center border-t border-grey p-2 pin-b text-xs">
|
|
{{- block "footer" . }}{{- partial "footer.html" . -}}{{ end -}}
|
|
</footer>
|
|
<!--{{- partial "footer_scripts.html" . -}}-->
|
|
{{- partial "footer_custom.html" . -}}
|
|
{{ template "_internal/google_analytics.html" . }}
|
|
</body>
|
|
</html>
|