1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00
twbs--bootstrap/site/docs/versions.html

30 lines
1 KiB
HTML
Raw Normal View History

2018-07-29 18:46:27 -04:00
---
layout: simple
title: Versions
description: An appendix of hosted documentation for nearly every release of Bootstrap, from v1 through v4.
---
2018-10-15 04:49:15 -04:00
<div class="row">
{% for release in site.data.docs-versions %}
<div class="col-md">
<h2>{{ release.group }}</h2>
<p>{{ release.description }}</p>
{% assign versions = release.versions | reverse %}
{% for version in versions %}
2018-10-15 04:49:15 -04:00
{% if forloop.first %}<div class="list-group">{% endif %}
{% if version.v == site.docs_version %}
<a class="list-group-item list-group-item-action py-2 text-primary d-flex justify-content-between align-items-center" href="{{ release.baseurl }}/{{ version.v }}/">
{{ version.v }}
<span class="badge badge-primary">Latest</span>
</a>
{% else %}
<a class="list-group-item list-group-item-action py-2 text-primary" href="{{ release.baseurl }}/{{ version.v }}/">
{{ version.v }}
</a>
{% endif %}
2018-10-15 04:49:15 -04:00
{% if forloop.last %}</div>{% endif %}
{% endfor %}
2018-07-29 18:46:27 -04:00
</div>
2018-10-15 04:49:15 -04:00
{% endfor %}
</div>