n .Sections)) }}
          {{ $isParent := and (ne $numberOfPages 0) (not .Params.geekdocFlatSection) }}
          {{ $isCurrent := eq $current . }}
          {{ $isAncestor := .IsAncestor $current }}
          {{ $id := substr (sha1 .Permalink) 0 8 }}
          {{ $doCollapse := and $isParent (or .Params.geekdocCollapseSection (default false .Site.Params.geekdocCollapseAllSections)) }}


          <li>
            <input
              type="checkbox"
              {{ if $doCollapse }}
                class