aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/docs/menu.html
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2019-04-22 19:17:39 +0200
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-04-22 19:17:39 +0200
commit0b30289d9f3520144bb37caa009d8953cde0e3d6 (patch)
tree0f9bb8c645db952484ae1d0d98f961142184c894 /layouts/partials/docs/menu.html
parent0084e069de16a7b6c15f50edd7479e2e49fe0874 (diff)
#43, Update tree menu rendering to support multiple sections
Diffstat (limited to 'layouts/partials/docs/menu.html')
-rw-r--r--layouts/partials/docs/menu.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/layouts/partials/docs/menu.html b/layouts/partials/docs/menu.html
index 0ded211..238f976 100644
--- a/layouts/partials/docs/menu.html
+++ b/layouts/partials/docs/menu.html
@@ -9,4 +9,8 @@
{{ end }}
{{ partial "docs/inject/menu-after" . }}
-</nav> \ No newline at end of file
+</nav>
+
+{{ if .Site.Params.BookEnableJS }}
+ {{ template "jsmenu" . }}
+{{ end }}