     <li
        class="
          TreeMenu-item
          {% if pageUrlWithoutIndex == pathWithoutIndex %}is-active{% endif %}
        "
      >
        <a class="TreeMenu-button" href="{{ pathWithoutIndex }}">
          {% if matchingPage.parent.title %}
            {{ matchingPage.parent.title }}
          {% else %}
            {{ matchingPage.title }}
          {% endif %}
        </a>
      </li>
    {% elsif depthWithoutReadme == targetDepth %}
      <li
        class="
          TreeMenu-item
      