mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-24 22:00:39 +00:00
41 lines
1.2 KiB
HTML
41 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="{{ .Site.Language.Lang }}" class="color-toggle-hidden">
|
|
|
|
<head>
|
|
{{ partial "head/meta" . }}
|
|
<title>{{ if not (eq .Kind "home") }}{{ partial "title" . }} | {{ end }}{{ .Site.Title }}</title>
|
|
|
|
{{ partial "head/favicons" . }}
|
|
{{ partial "head/others" . }}
|
|
{{ partial "head/custom" . }}
|
|
</head>
|
|
|
|
<body itemscope itemtype="https://schema.org/WebPage">
|
|
{{ 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" . }}
|
|
</div>
|
|
|
|
{{ partial "foot" . }}
|
|
</body>
|
|
</html>
|