mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-30 12:24:19 +01:00
1.1 KiB
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" }}
{{ end -}}
{{< /list-versions.inline >}}
{{ $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 -}}