       <a
                    href="{{ .RelPermalink }}"
                    class="gdoc-nav__entry{{- if eq $current . }}
                      {{- printf " is-active" }}
                    {{- end }}"
                  >
                    {{ partial "utils/title" . }}
                  </a>
                </span>
              {{ else }}
                <span class="flex">{{ partial "utils/title" . }}</span>
              {{ end }}
              {{ if $doCollapse }}
                <svg class="gdoc-ic