aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/docs
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/docs')
-rw-r--r--layouts/partials/docs/menu-filetree.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/docs/menu-filetree.html b/layouts/partials/docs/menu-filetree.html
index 24bf5b5..a367b1a 100644
--- a/layouts/partials/docs/menu-filetree.html
+++ b/layouts/partials/docs/menu-filetree.html
@@ -56,7 +56,7 @@
{{ with .Page }}
{{ if .Content }}
<a href="{{ .RelPermalink }}" class="
- {{- if .Params.bookCollapseSection }}collapsed {{ end }}
+ {{- if and .Params.bookCollapseSection .IsSection }}collapsed {{ end }}
{{- if eq $.CurrentPage . }}active{{ end }}">
{{- partial "docs/title" . -}}
</a>