{/* The below code needs to be aligned to Docsy to use the menu data from the front matter wherever possible */}}
      {{ $sections := slice "docs" "blog" "training" "careers" "partners" "community" }}
      {{ range $sections }}
      {{ with site.GetPage "section" . }}
      <li class="nav-item mr-4 mb-2 mb-lg-0">
        {{ $active := eq .Section $.Section }}
        <a class="nav-link{{if $active }} active{{end}}" href="{{ .RelPermalink }}" >{{ .Title }}</a>
      </li>
      {{ end -}}
      {{ end -}