diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2018-09-12 14:36:16 +0200 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2018-09-12 14:36:16 +0200 |
commit | 80cca5b1befdbe1453bbf1bd92520403b0f5080f (patch) | |
tree | 2f7b18ebdb0d8bfbd4659abe42b85937ba784890 /layouts/docs | |
parent | ca37d7488c726452739da68f9a096e0d8467d264 (diff) |
Simplify partials
Diffstat (limited to 'layouts/docs')
-rw-r--r-- | layouts/docs/baseof.html | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/layouts/docs/baseof.html b/layouts/docs/baseof.html index 8509b14..f7e8477 100644 --- a/layouts/docs/baseof.html +++ b/layouts/docs/baseof.html @@ -10,7 +10,18 @@ <div class="pure-g"> <div class="pure-u book-nav"> - {{ partial "docs/nav" . }} + <nav role="navigation"> + {{ partial "docs/nav-brand" . }} + {{ partial "docs/inject/nav-before" . }} + + {{ if .Site.Params.BookMenuBundle }} + {{ partial "docs/nav-bundle" . }} + {{ else }} + {{ partial "docs/nav-filetree" . }} + {{ end }} + + {{ partial "docs/inject/nav-after" . }} + </nav> </div> <div class="pure-u book-content"> <div class="pure-g"> |