0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-04 16:24:22 +01:00
Bootstrap/site/content/docs/versions.md
2023-10-23 12:16:04 -07: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 "" "desc" -}} {{- range $i, $version := $versions }} {{- $len := len $versions -}} {{ if (eq $i 0) }}
{{ end }} {{ $version }} {{ if (eq $version $.Site.Params.docs_version) -}} Latest {{- end }} {{ if (eq (add $i 1) $len) }}
{{ end }} {{ end -}}
{{ end -}}
{{< /list-versions.inline >}}