2020-01-12 15:33:02 +01:00
|
|
|
<!DOCTYPE html>
|
2022-05-31 14:14:01 +02:00
|
|
|
<html
|
|
|
|
lang="{{ .Site.Language.Lang }}"
|
|
|
|
class="color-toggle-hidden"
|
2023-06-22 09:45:54 +02:00
|
|
|
{{ if default false .Site.Params.geekdocDarkModeCode }}code-theme="dark"{{ end }}
|
2022-05-31 14:14:01 +02:00
|
|
|
>
|
2022-01-06 13:58:10 +01:00
|
|
|
<head>
|
2021-04-22 22:07:09 +02:00
|
|
|
{{ partial "head/meta" . }}
|
2022-01-06 13:58:10 +01:00
|
|
|
<title>
|
2022-02-07 10:57:43 +01:00
|
|
|
{{- if eq .Kind "home" -}}
|
|
|
|
{{ .Site.Title }}
|
|
|
|
{{- else -}}
|
|
|
|
{{ printf "%s | %s" (partial "utils/title" .) .Site.Title }}
|
|
|
|
{{- end -}}
|
2022-01-06 13:58:10 +01:00
|
|
|
</title>
|
2021-04-22 22:07:09 +02:00
|
|
|
|
|
|
|
{{ partial "head/favicons" . }}
|
2021-09-28 20:44:59 +02:00
|
|
|
{{ partial "head/rel-me" . }}
|
|
|
|
{{ partial "head/microformats" . }}
|
2021-04-22 22:07:09 +02:00
|
|
|
{{ partial "head/others" . }}
|
2021-05-19 22:42:57 +02:00
|
|
|
{{ partial "head/custom" . }}
|
2023-04-25 20:47:03 +02:00
|
|
|
{{ if .IsHome }}
|
|
|
|
{{ partial "head/columns" . }}
|
|
|
|
{{ end }}
|
2022-01-06 13:58:10 +01:00
|
|
|
</head>
|
2020-01-12 15:33:02 +01:00
|
|
|
|
2022-01-06 13:58:10 +01:00
|
|
|
<body itemscope itemtype="https://schema.org/WebPage">
|
2020-01-12 15:33:02 +01:00
|
|
|
{{ partial "svg-icon-symbols" . }}
|
|
|
|
|
2022-01-06 13:58:10 +01:00
|
|
|
|
|
|
|
<div
|
2023-04-25 20:47:03 +02:00
|
|
|
class="wrapper {{ if default false .Site.Params.GeekdocDarkModeDim }}dark-mode-dim{{ end }} {{ if .IsHome }}home{{ end }}"
|
2022-01-06 13:58:10 +01:00
|
|
|
>
|
|
|
|
<input type="checkbox" class="hidden" id="menu-control" />
|
|
|
|
<input type="checkbox" class="hidden" id="menu-header-control" />
|
2023-06-22 09:45:54 +02:00
|
|
|
{{ $navEnabled := default true .Page.Params.geekdocNav }}
|
2022-01-06 13:58:10 +01:00
|
|
|
{{ partial "site-header" (dict "Root" . "MenuEnabled" $navEnabled) }}
|
|
|
|
|
|
|
|
|
|
|
|
<main class="container flex flex-even">
|
|
|
|
{{ if $navEnabled }}
|
|
|
|
<aside class="gdoc-nav">
|
|
|
|
{{ partial "menu" . }}
|
|
|
|
</aside>
|
|
|
|
{{ end }}
|
|
|
|
|
2023-04-25 20:47:03 +02:00
|
|
|
<div class="gdoc-page {{ if .IsHome }}home{{ end }}">
|
2022-01-06 13:58:10 +01:00
|
|
|
{{ template "main" . }}
|
2022-01-23 13:21:44 +01:00
|
|
|
|
|
|
|
|
2023-10-20 09:39:38 +02:00
|
|
|
{{ $showPrevNext := (default true .Site.Params.geekdocNextPrev) }}
|
|
|
|
{{ if $showPrevNext }}
|
2022-01-23 13:21:44 +01:00
|
|
|
<div class="gdoc-page__footer flex flex-wrap justify-between">
|
2023-10-20 09:39:38 +02:00
|
|
|
{{ if .Site.Params.geekdocMenuBundle }}
|
|
|
|
{{ partial "menu-bundle-np" . }}
|
|
|
|
{{ else }}
|
|
|
|
{{ partial "menu-filetree-np" . }}
|
|
|
|
{{ end }}
|
2022-01-23 13:21:44 +01:00
|
|
|
</div>
|
2023-10-20 09:39:38 +02:00
|
|
|
{{ end }}
|
2022-01-06 13:58:10 +01:00
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
|
|
|
|
{{ partial "site-footer" . }}
|
2020-01-12 15:33:02 +01:00
|
|
|
</div>
|
|
|
|
|
2020-05-31 18:20:39 +02:00
|
|
|
{{ partial "foot" . }}
|
2022-01-06 13:58:10 +01:00
|
|
|
</body>
|
2020-01-12 15:33:02 +01:00
|
|
|
</html>
|