added tags to menu

This commit is contained in:
aethrvmn 2024-11-10 15:26:52 +01:00
parent 97dde025ba
commit 03d3283b0a

View file

@ -1,21 +1,24 @@
<nav> <nav>
{{ partial "docs/brand" . }} {{ partial "docs/brand" . }}
{{ partial "docs/search" . }} {{ partial "docs/search" . }}
<div class="book-menu-top">
{{ partial "docs/inject/menu-before" . }}
{{ partial "docs/menu-hugo" .Site.Menus.before }}
</div>
{{ partial "docs/inject/menu-before" . }} <div class="book-menu-mid">
{{ partial "docs/menu-hugo" .Site.Menus.before }} {{ if .Site.Params.BookMenuBundle }}
{{ if .Site.Params.BookMenuBundle }}
{{ partial "docs/menu-bundle" . }} {{ partial "docs/menu-bundle" . }}
{{ else }} {{ else }}
{{ partial "docs/menu-filetree" . }} {{ partial "docs/menu-filetree" . }}
{{ end }} {{ end }}
</div>
<div style="bottom:0; position:fixed;"> <div class="book-menu-bot">
{{ partial "docs/inject/menu-after" . }} {{ partial "docs/inject/menu-after" . }}
{{ partial "docs/menu-hugo" .Site.Menus.after }} {{ partial "docs/menu-hugo" .Site.Menus.after }}
</div> </div>
</nav> </nav>
<!-- Restore menu position as soon as possible to avoid flickering --> <!-- Restore menu position as soon as possible to avoid flickering -->