46 lines
1.4 KiB
HTML
46 lines
1.4 KiB
HTML
|
<!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 -}}
|
||
|
<div className="flex flex-col min-h-screen max-w-5xl mx-auto py-10 px-4">
|
||
|
<div className="flex-grow">
|
||
|
<div className="mx-auto w-full">
|
||
|
{{ partial "header.html" . }}
|
||
|
<main>
|
||
|
{{ block "main" . }}{{ end }}
|
||
|
</main>
|
||
|
</div>
|
||
|
</div>
|
||
|
<footer className="text-xs font-medium text-slate-500 dark:text-slate-300 mx-auto md:mx-0">
|
||
|
<div className="space-x-8 py-4 ">
|
||
|
{{ partial "footer.html" . }}
|
||
|
|
||
|
</div>
|
||
|
</footer>
|
||
|
</div>
|
||
|
{{ partial "extended_footer.html" . }}
|
||
|
</body>
|
||
|
</html>
|