mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-15 17:30:40 +00:00
Robert Kaussow
5c22ce57dc
BREAKING CHANGE: Layout file renamed ´layouts/partials/page-footer.html → layouts/partials/menu-nextprev.html`. If you use overrides, you might need to change the filenames as well.
56 lines
1.5 KiB
HTML
56 lines
1.5 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" . }}{{ printf " | " }}
|
|
{{ end }}{{ .Site.Title }}
|
|
</title>
|
|
|
|
{{ partial "head/favicons" . }}
|
|
{{ partial "head/rel-me" . }}
|
|
{{ partial "head/microformats" . }}
|
|
{{ partial "head/others" . }}
|
|
{{ partial "head/schema" . }}
|
|
{{ 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" . }}
|
|
|
|
|
|
<div class="gdoc-page__footer flex flex-wrap justify-between">
|
|
{{ partial "menu-nextprev" . }}
|
|
</div>
|
|
</div>
|
|
</main>
|
|
|
|
{{ partial "site-footer" . }}
|
|
</div>
|
|
|
|
{{ partial "foot" . }}
|
|
</body>
|
|
</html>
|