feat: add next-prev navigation for filetree menu (#723)

This commit is contained in:
Robert Kaussow 2023-10-20 09:39:38 +02:00 committed by GitHub
parent 21d310b884
commit 712be2e2a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 144 additions and 35 deletions

View file

@ -46,9 +46,16 @@
{{ template "main" . }}
{{ $showPrevNext := (default true .Site.Params.geekdocNextPrev) }}
{{ if $showPrevNext }}
<div class="gdoc-page__footer flex flex-wrap justify-between">
{{ partial "menu-nextprev" . }}
{{ if .Site.Params.geekdocMenuBundle }}
{{ partial "menu-bundle-np" . }}
{{ else }}
{{ partial "menu-filetree-np" . }}
{{ end }}
</div>
{{ end }}
</div>
</main>