diff --git a/layouts/partials/docs/menu.html b/layouts/partials/docs/menu.html index 5ce7fd1..2c299d1 100644 --- a/layouts/partials/docs/menu.html +++ b/layouts/partials/docs/menu.html @@ -1,21 +1,24 @@ -{{ partial "docs/brand" . }} -{{ partial "docs/search" . }} + {{ partial "docs/brand" . }} + {{ partial "docs/search" . }} + + {{ partial "docs/inject/menu-before" . }} + {{ partial "docs/menu-hugo" .Site.Menus.before }} + -{{ partial "docs/inject/menu-before" . }} -{{ partial "docs/menu-hugo" .Site.Menus.before }} + + {{ if .Site.Params.BookMenuBundle }} + {{ partial "docs/menu-bundle" . }} + {{ else }} + {{ partial "docs/menu-filetree" . }} + {{ end }} + -{{ if .Site.Params.BookMenuBundle }} - {{ partial "docs/menu-bundle" . }} -{{ else }} - {{ partial "docs/menu-filetree" . }} -{{ end }} - - -{{ partial "docs/inject/menu-after" . }} -{{ partial "docs/menu-hugo" .Site.Menus.after }} - + + {{ partial "docs/inject/menu-after" . }} + {{ partial "docs/menu-hugo" .Site.Menus.after }} +