0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-05 17:24:20 +01:00
Bootstrap/site/content/docs/versions.md
2020-09-28 12:40:34 +03:00

1.1 KiB

title description
Versions An appendix of hosted documentation for nearly every release of Bootstrap, from v1 through v5.

{{< list-versions.inline >}}

{{- range $release := sort (index $.Site.Data "docs-versions") "group" "desc" }}

{{ $release.group }}

{{ $release.description }}

{{- $versions := sort $release.versions "v" "desc" -}} {{- range $i, $version := $versions }} {{- $len := len $versions -}} {{ if (eq $i 0) }}
{{ end }} {{ $version.v }} {{ if (eq $version.v $.Site.Params.docs_version) -}} Latest {{- end }} {{ if (eq (add $i 1) $len) }}
{{ end }} {{ end -}}
{{ end -}}
{{< /list-versions.inline >}}