added tags to menu
This commit is contained in:
parent
97dde025ba
commit
03d3283b0a
1 changed files with 17 additions and 14 deletions
|
@ -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 -->
|
||||||
|
|
Loading…
Reference in a new issue