
Upgrade the Geekdocs theme from 0.32.4 to 0.44.1. This changes the layout a little bit; most notably the 'documentation' menu is in a larger font. I tried the upgrade to solve an issue of images not appearing (while writing not-yet-committed changes). That wasn't solved by the upgrade, but in the spirit of keeping up to date I'd thought I'd commit this upgrade anyway.
68 lines
1.8 KiB
HTML
68 lines
1.8 KiB
HTML
<!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" . }}
|
|
{{ partial "head/rel-me" . }}
|
|
{{ partial "head/microformats" . }}
|
|
{{ 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" . }}
|
|
|
|
|
|
{{ $showPrevNext := (default true .Site.Params.geekdocNextPrev) }}
|
|
{{ if $showPrevNext }}
|
|
<div class="gdoc-page__footer flex flex-wrap justify-between">
|
|
{{ if .Site.Params.geekdocMenuBundle }}
|
|
{{ partial "menu-bundle-np" . }}
|
|
{{ else }}
|
|
{{ partial "menu-filetree-np" . }}
|
|
{{ end }}
|
|
</div>
|
|
{{ end }}
|
|
</div>
|
|
</main>
|
|
|
|
{{ partial "site-footer" . }}
|
|
</div>
|
|
|
|
{{ partial "foot" . }}
|
|
</body>
|
|
</html>
|