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

39 lines
1.1 KiB
HTML
Raw Normal View History

2020-01-12 15:33:02 +01:00
<!DOCTYPE html>
2021-04-27 23:44:35 +02:00
<html lang="{{ .Site.Language.Lang }}" class="color-toggle-hidden">
2020-01-12 15:33:02 +01:00
<head>
{{ partial "head/meta" . }}
<title>{{ if not (eq .Kind "home") }}{{ partial "title" . }} | {{ end }}{{ .Site.Title }}</title>
{{ partial "head/favicons" . }}
{{ partial "head/others" . }}
2020-01-12 15:33:02 +01:00
</head>
<body itemscope itemtype="https://schema.org/WebPage">
2020-01-12 15:33:02 +01:00
{{ partial "svg-icon-symbols" . }}
<div class="wrapper {{ if default false .Site.Params.GeekdocDarkModeDim }}dark-mode-dim{{ end }}">
2020-01-12 15:33:02 +01:00
<input type="checkbox" class="hidden" id="menu-control" />
{{ $navEnabled := default true .Page.Params.GeekdocNav }}
{{ partial "site-header" (dict "Root" . "MenuEnabled" $navEnabled) }}
2020-01-12 15:33:02 +01:00
<main class="container flex flex-even">
{{ if $navEnabled }}
2020-01-12 15:33:02 +01:00
<aside class="gdoc-nav">
{{ partial "menu" . }}
</aside>
{{ end }}
2020-01-12 15:33:02 +01:00
<div class="gdoc-page">
{{ template "main" . }}
{{ partial "page-footer" . }}
</div>
</main>
{{ partial "site-footer" . }}
</div>
2020-05-31 18:20:39 +02:00
{{ partial "foot" . }}
</body>
2020-01-12 15:33:02 +01:00
</html>