2024-10-21 13:47:30 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="{{ or site.Language.LanguageCode site.Language.Lang }}" dir="{{ or site.Language.LanguageDirection `ltr` }}">
|
|
|
|
<head>
|
|
|
|
{{ block "title" . }}
|
|
|
|
{{- $title := "" -}}
|
|
|
|
{{- $siteTitle := $.Site.Title -}}
|
|
|
|
{{- $subtitle := $.Site.Params.Subtitle -}}
|
|
|
|
{{- $mainTitle := $siteTitle -}}
|
|
|
|
{{- if $subtitle -}}
|
|
|
|
{{- $mainTitle = printf "%s - %s" $siteTitle $subtitle -}}
|
|
|
|
{{- end -}}
|
|
|
|
|
|
|
|
{{- if .IsHome -}}
|
|
|
|
{{- $title = $mainTitle -}}
|
|
|
|
{{- else -}}
|
|
|
|
{{- $title = printf "%s :: %s" .Title $mainTitle -}}
|
|
|
|
{{- end -}}
|
|
|
|
<title>{{- $title -}}</title>
|
|
|
|
{{ end }}
|
|
|
|
{{ partial "head.html" . }}
|
|
|
|
{{ block "head" . }}{{ end }}
|
|
|
|
</head>
|
|
|
|
<body class="antialiased relative min-h-screen bg-white dark:bg-slate-950 text-slate-900 dark:text-slate-50">
|
|
|
|
{{- if hugo.IsDevelopment }}
|
|
|
|
{{ partial "tailwind-size-indicator.html" }}
|
|
|
|
{{ end -}}
|
2024-10-21 21:29:11 +02:00
|
|
|
<div class="flex flex-col min-h-screen max-w-5xl mx-auto py-10 px-4">
|
|
|
|
<div class="flex-grow">
|
|
|
|
<div class="mx-auto w-full">
|
2024-10-21 13:47:30 +02:00
|
|
|
{{ partial "header.html" . }}
|
|
|
|
<main>
|
|
|
|
{{ block "main" . }}{{ end }}
|
|
|
|
</main>
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-10-21 21:29:11 +02:00
|
|
|
<footer class="text-xs font-medium text-slate-500 dark:text-slate-300 mx-auto md:mx-0">
|
|
|
|
<div class="space-x-8 py-4 ">
|
2024-10-21 13:47:30 +02:00
|
|
|
{{ partial "footer.html" . }}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</footer>
|
|
|
|
</div>
|
|
|
|
{{ partial "extended_footer.html" . }}
|
|
|
|
</body>
|
|
|
|
</html>
|