feat: add next-prev navigation for filetree menu (#723)
This commit is contained in:
parent
21d310b884
commit
712be2e2a7
4 changed files with 144 additions and 35 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue