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" . }}
|
2022-06-21 20:52:44 +02:00
|
|
|
{{ if eq .Site.Params.options.toTopButton true -}}
|
2022-06-23 10:03:20 +02:00
|
|
|
<div class="d-flex fixed-bottom pb-4 pb-lg-5 pe-4 pe-lg-5">
|
2022-06-21 20:52:44 +02:00
|
|
|
<a id="toTop" href="#" class="btn btn-outline-primary rounded-circle ms-auto p-2"><span class="visually-hidden">Top</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-up"><polyline points="18 15 12 9 6 15"></polyline></svg></a>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
2020-04-15 15:48:16 +02:00
|
|
|
</body>
|
|
|
|
</html>
|