pdown-item current" aria-current="true" href="{{ if .IsHome }}/{{ else }}/docs/{{ .Site.Params.docs_version }}/{{ $versions_link }}{{ end }}">
        Latest ({{ .Site.Params.docs_version }}.x)
      </a>
    </li>
    <li>
      {{- if (eq .Page.Params.added "5.2") }}
        <div class="dropdown-item disabled">v5.1.3</div>
      {{- else }}
        <a class="dropdown-item" href="https://getbootstrap.com/docs/5.1/{{ $versions_link }}">v5.1.3</a>
      {{- end }}
    </li>
    <li>
      {{- if or (eq .Page