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 }}
{{ partial "docs/menu-bundle" . }}
{{ else }}
{{ partial "docs/menu-filetree" . }}
{{ end }}
</div>
{{ if .Site.Params.BookMenuBundle }} <div class="book-menu-bot">
{{ partial "docs/menu-bundle" . }} {{ partial "docs/inject/menu-after" . }}
{{ else }} {{ partial "docs/menu-hugo" .Site.Menus.after }}
{{ partial "docs/menu-filetree" . }} </div>
{{ end }}
<div style="bottom:0; position:fixed;">
{{ partial "docs/inject/menu-after" . }}
{{ partial "docs/menu-hugo" .Site.Menus.after }}
</div>
</nav> </nav>
<!-- Restore menu position as soon as possible to avoid flickering --> <!-- Restore menu position as soon as possible to avoid flickering -->