s="navbar-brand__name">
        {{- .Site.Title -}}
      </span>
      {{- /**/ -}}
    </a>
    <div class="td-navbar-nav-scroll me-auto" id="main_navbar">
      <ul class="navbar-nav">
        {{ $p := . -}}
        {{ range .Site.Menus.main -}}
          <li class="nav-item">
            {{ $active := or ($p.IsMenuCurrent "main" .) ($p.HasMenuCurrent "main" .) -}}
            {{ $href := "" -}}
            {{ with .Page -}}
              {{ $active = or $active ( $.IsDescendant .) -}}
              {{ $