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 ae547c0 commit 56eec58Copy full SHA for 56eec58
layouts/partials/sidebar-tree.html
@@ -25,7 +25,7 @@
25
{{ $p := .page }}
26
{{ $shouldDelayActive := .delayActive }}
27
{{ $active := eq $p.CurrentSection $s }}
28
-{{ $show := or (and (not $p.Site.Params.ui.sidebar_menu_compact) ($p.IsAncestor $s)) ($p.IsDescendant $s) }}
+{{ $show := or (and (not $p.Site.Params.ui.sidebar_menu_compact) ($p.IsAncestor $s)) ($p.IsDescendant $s) (eq $s.Parent $p.Parent) ($p.IsDescendant $s.Parent) }}
29
{{ $sid := $s.RelPermalink | anchorize }}
30
<ul class="td-sidebar-nav__section pr-md-3">
31
<li class="td-sidebar-nav__section-title">
0 commit comments