hugo-geekdoc/layouts/_default/baseof.html

52 lines
1.4 KiB
HTML
Raw Normal View History

2020-01-12 14:33:02 +00:00
<!DOCTYPE html>
2021-04-27 21:44:35 +00:00
<html lang="{{ .Site.Language.Lang }}" class="color-toggle-hidden">
<head>
{{ partial "head/meta" . }}
<title>
2022-01-12 20:47:14 +00:00
{{ if not (eq .Kind "home") }}
{{ partial "title" . }}{{ printf " | " }}
{{ end }}{{ .Site.Title }}
</title>
{{ partial "head/favicons" . }}
2021-09-28 18:44:59 +00:00
{{ partial "head/rel-me" . }}
{{ partial "head/microformats" . }}
{{ partial "head/others" . }}
2021-09-28 18:44:59 +00:00
{{ partial "head/schema" . }}
{{ partial "head/custom" . }}
</head>
2020-01-12 14:33:02 +00:00
<body itemscope itemtype="https://schema.org/WebPage">
2020-01-12 14:33:02 +00:00
{{ partial "svg-icon-symbols" . }}
<div
class="wrapper {{ if default false .Site.Params.GeekdocDarkModeDim }}dark-mode-dim{{ 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 }}
<div class="gdoc-page">
{{ template "main" . }}
{{ partial "page-footer" . }}
</div>
</main>
{{ partial "site-footer" . }}
2020-01-12 14:33:02 +00:00
</div>
2020-05-31 16:20:39 +00:00
{{ partial "foot" . }}
</body>
2020-01-12 14:33:02 +00:00
</html>