We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8aed414 commit dbf6b33Copy full SHA for dbf6b33
themes/buildpacks/layouts/partials/sidebar.html
@@ -52,7 +52,7 @@
52
{{- if ne $numberOfPages 0 }}
53
{{- $depth = add (int $depth) 1 }}
54
<ul class="ml-2">
55
- {{- $expand = .Params.expand -}}
+ {{- $expand = (or .Params.expand $isCurrent) -}}
56
{{- $pages := (.Pages | union .Sections) }}
57
{{- range $pages.ByWeight }}
58
{{- if (not .Params.hidden) }}
0 commit comments