0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

add link to prior versions

This commit is contained in:
Mark Otto 2017-05-30 13:59:08 -07:00
parent 309310c4ea
commit 41018c8459

View File

@ -30,19 +30,17 @@
</div>
<ul class="navbar-nav flex-row ml-md-auto d-none d-md-flex">
{% comment %}
<li class="nav-item dropdown">
<a class="nav-item nav-link dropdown-toggle mr-md-2" href="#" id="bd-versions" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
v{{ site.current_version }}
v4.0
</a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="bd-versions">
<a class="dropdown-item" href="{{ site.baseurl }}/v4">Bootstrap 4</a>
<a class="dropdown-item" href="{{ site.baseurl }}/3.3.7/">Bootstrap v3.3.7</a>
<a class="dropdown-item" href="{{ site.baseurl }}/2.3.2/">Bootstrap v2.3.2</a>
<a class="dropdown-item" href="{{ site.baseurl }}/releases/">All versions...</a>
<a class="dropdown-item active" href="{{ site.baseurl }}/docs/{{ site.docs_version }}/">Latest (4.x)</a>
<a class="dropdown-item" href="https://v4-alpha.getbootstrap.com">v4 Alpha 6</a>
<a class="dropdown-item" href="https://getbootstrap.com/3.3.7/">v3.3.7</a>
<a class="dropdown-item" href="https://getbootstrap.com/2.3.2/">v2.3.2</a>
</div>
</li>
{% endcomment %}
<li class="nav-item">
<a class="nav-link p-2" href="{{ site.repo }}" target="_blank">