aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/docs/nav-filetree.html
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2018-09-24 17:03:23 +0200
committerAlex Shpak <alex-shpak@users.noreply.github.com>2018-09-24 17:03:23 +0200
commitb6d7a1050fe273869646242304899f0a0f1483b2 (patch)
tree3e9b75f74723b8981cfca53f59dadc659684847d /layouts/partials/docs/nav-filetree.html
parent8678e82154226d31ff2833c83fc078d6260a218f (diff)
Improve mobile UX
Diffstat (limited to 'layouts/partials/docs/nav-filetree.html')
-rw-r--r--layouts/partials/docs/nav-filetree.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/docs/nav-filetree.html b/layouts/partials/docs/nav-filetree.html
index 6c2f965..3ec4539 100644
--- a/layouts/partials/docs/nav-filetree.html
+++ b/layouts/partials/docs/nav-filetree.html
@@ -8,7 +8,7 @@
{{ define "book-section" }} <!-- Single section of menu (recursive) -->
<ul>
{{ range .Section.Sections }}
- <li>
+ <li {{- if .Params.bookrootsection}} class="root-section" {{ end }}>
{{- if .Content -}}
{{ template "book-page-link" (dict "Page" . "CurrentPage" $.CurrentPage) }}
{{- else -}}