hugo-theme-hilfe/layouts/_default/baseof.html

63 lines
1.7 KiB
HTML
Raw Normal View History

2020-01-12 15:33:02 +01:00
<!DOCTYPE html>
<html
lang="{{ .Site.Language.Lang }}"
class="color-toggle-hidden"
{{ if default false .Site.Params.GeekdocDarkModeCode }}code-theme="dark"{{ end }}
>
<head>
{{ partial "head/meta" . }}
<title>
{{- if eq .Kind "home" -}}
{{ .Site.Title }}
{{- else -}}
{{ printf "%s | %s" (partial "utils/title" .) .Site.Title }}
{{- end -}}
</title>
{{ partial "head/favicons" . }}
2021-09-28 20:44:59 +02:00
{{ partial "head/rel-me" . }}
{{ partial "head/microformats" . }}
{{ partial "head/others" . }}
{{ partial "head/custom" . }}
2023-04-25 20:47:03 +02:00
{{ if .IsHome }}
{{ partial "head/columns" . }}
{{ end }}
</head>
2020-01-12 15:33:02 +01:00
<body itemscope itemtype="https://schema.org/WebPage">
2020-01-12 15:33:02 +01:00
{{ partial "svg-icon-symbols" . }}
<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 }}"
>
<input type="checkbox" class="hidden" id="menu-control" />
<input type="checkbox" class="hidden" id="menu-header-control" />
{{ $navEnabled := default true .Page.Params.GeekdocNav }}
{{ 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 }}">
{{ template "main" . }}
<div class="gdoc-page__footer flex flex-wrap justify-between">
{{ partial "menu-nextprev" . }}
</div>
</div>
</main>
{{ partial "site-footer" . }}
2020-01-12 15:33:02 +01:00
</div>
2020-05-31 18:20:39 +02:00
{{ partial "foot" . }}
</body>
2020-01-12 15:33:02 +01:00
</html>