aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2019-01-24 23:30:31 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-01-24 23:30:31 +0100
commit4ce973a4e2ee74ff4cba33ea3c8bb8761c8e70ef (patch)
tree54ea5013573f11dcf7e52a5d06f2ec0a9d4c7db9 /layouts/partials
parentd746c8eec369cc76fb9937f7838172ba40d3bf0f (diff)
Add menu to blog pages
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/docs/menu.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/layouts/partials/docs/menu.html b/layouts/partials/docs/menu.html
new file mode 100644
index 0000000..0ded211
--- /dev/null
+++ b/layouts/partials/docs/menu.html
@@ -0,0 +1,12 @@
+<nav role="navigation">
+{{ partial "docs/brand" . }}
+{{ partial "docs/inject/menu-before" . }}
+
+{{ if .Site.Params.BookMenuBundle }}
+ {{ partial "docs/menu-bundle" . }}
+{{ else }}
+ {{ partial "docs/menu-filetree" . }}
+{{ end }}
+
+{{ partial "docs/inject/menu-after" . }}
+</nav> \ No newline at end of file