0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00
Bootstrap/site/content/docs/versions.md
XhmikosR 11037f8407
Some checks failed
BrowserStack / browserstack (push) Has been cancelled
Bundlewatch / bundlewatch (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
cspell / cspell (push) Has been cancelled
CSS / css (push) Has been cancelled
Docs / docs (push) Has been cancelled
JS Tests / JS Tests (push) Has been cancelled
Lint / lint (push) Has been cancelled
CSS (node-sass) / css (push) Has been cancelled
Release notes / update_release_draft (push) Has been cancelled
docs: use urls.JoinPath in more places (#39778)
2024-03-22 11:50:03 +02: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 >}}