<liclass="td-sidebar-nav__section-title td-sidebar-nav__section{{ if $withChild }} with-child{{ else }} without-child{{ end }}{{ if $activePath }} active-path{{ end }}{{ if (not (or $show $p.Site.Params.ui.sidebar_menu_foldable )) }} collapse{{ end }}"id="{{ $mid }}-li">
{{ if (and $p.Site.Params.ui.sidebar_menu_foldable (ge $ulNr 1)) -}}
<labelfor="{{ $mid }}-check"><ahref="{{ $manualLink }}"{{ifne$s.LinkTitle$manualLinkTitle}}title="{{ $manualLinkTitle }}"{{end}}{{with$s.Params.manualLinkTarget}}target="{{ . }}"{{ifeq."_blank"}}rel="noopener"{{end}}{{end}}class="align-left ps-0 {{ if $active}} active{{ end }} td-sidebar-link{{ if $s.IsPage }} td-sidebar-link__page{{ else }} td-sidebar-link__section{{ end }}{{ if $treeRoot }} tree-root{{ end }}"id="{{ $mid }}">{{ with $s.Params.Icon}}<iclass="{{ . }}"></i>{{ end }}<spanclass="{{ if $active }}td-sidebar-nav-active-item{{ end }}">{{ $s.LinkTitle }}</span></a></label>
<ahref="{{ $manualLink }}"{{ifne$s.LinkTitle$manualLinkTitle}}title="{{ $manualLinkTitle }}"{{end}}{{with$s.Params.manualLinkTarget}}target="{{ . }}"{{ifeq."_blank"}}rel="noopener"{{end}}{{end}}class="align-left ps-0{{ if $active}} active{{ end }} td-sidebar-link{{ if $s.IsPage }} td-sidebar-link__page{{ else }} td-sidebar-link__section{{ end }}{{ if $treeRoot }} tree-root{{ end }}"id="{{ $mid }}">{{ with $s.Params.Icon}}<iclass="{{ . }}"></i>{{ end }}<spanclass="{{ if $active }}td-sidebar-nav-active-item{{ end }}">{{ $s.LinkTitle }}</span></a>