2020-04-15 15:48:16 +02:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="{{ .Site.LanguageCode | default "en" }}">
|
2020-11-04 08:26:58 +01:00
|
|
|
{{ partial "head/head.html" . }}
|
2020-04-15 15:48:16 +02:00
|
|
|
{{ if eq .Kind "home" -}}
|
|
|
|
{{ .Scratch.Set "class" "home" -}}
|
|
|
|
{{ else if eq .Kind "404" -}}
|
|
|
|
{{ .Scratch.Set "class" "error404" -}}
|
|
|
|
{{ else if eq .Kind "page" -}}
|
|
|
|
{{ .Scratch.Set "class" .Type -}}
|
|
|
|
{{ .Scratch.Add "class" " single" -}}
|
|
|
|
{{ else -}}
|
|
|
|
{{ .Scratch.Set "class" .Type -}}
|
|
|
|
{{ .Scratch.Add "class" " list" -}}
|
|
|
|
{{ end -}}
|
2022-06-23 20:15:51 +02:00
|
|
|
<body class="{{ .Scratch.Get "class" }}"{{ if eq .Site.Params.options.scrollSpy true }} data-bs-spy="scroll" data-bs-target="#toc" data-bs-root-margin="0px 0px -90%" data-bs-smooth-scroll="true" tabindex="0"{{ end }}>
|
2020-11-04 08:26:58 +01:00
|
|
|
{{ partial "header/header.html" . }}
|
2022-01-28 08:48:57 +01:00
|
|
|
<div class="wrap container-{{ if .Site.Params.options.fullWidth }}fluid{{ else }}xxl{{ end }}" role="document">
|
2020-04-15 15:48:16 +02:00
|
|
|
<div class="content">
|
|
|
|
{{ block "main" . }}{{ end }}
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-11-04 08:26:58 +01:00
|
|
|
{{ block "sidebar-prefooter" . }}{{ end }}
|
|
|
|
{{ block "sidebar-footer" . }}{{ end }}
|
|
|
|
{{ partial "footer/footer.html" . }}
|
|
|
|
{{ partial "footer/script-footer.html" . }}
|
2020-04-15 15:48:16 +02:00
|
|
|
</body>
|
|
|
|
</html>
|