File tree 2 files changed +36
-36
lines changed
2 files changed +36
-36
lines changed Original file line number Diff line number Diff line change @@ -9,13 +9,13 @@ description: An appendix of hosted documentation for nearly every release of Boo
9
9
<div class =" col-md-6 col-lg-4 col-xl mb-4 " >
10
10
<h2>{{ $release.group }}</h2>
11
11
<p>{{ $release.description }}</p>
12
- {{- $versions := sort $release.versions "v " "desc" -}}
12
+ {{- $versions := sort $release.versions "" "desc" -}}
13
13
{{- range $i, $version := $versions }}
14
14
{{- $len := len $versions -}}
15
15
{{ if (eq $i 0) }}<div class="list-group">{{ end }}
16
- <a class="list-group-item list-group-item-action py-2 text-primary{{ if (eq $version.v $.Site.Params.docs_version) }} d-flex justify-content-between align-items-center{{ end }}" href="{{ $release.baseurl }}/{{ $version.v }}/">
17
- {{ $version.v }}
18
- {{ if (eq $version.v $.Site.Params.docs_version) -}}
16
+ <a class="list-group-item list-group-item-action py-2 text-primary{{ if (eq $version $.Site.Params.docs_version) }} d-flex justify-content-between align-items-center{{ end }}" href="{{ $release.baseurl }}/{{ $version }}/">
17
+ {{ $version }}
18
+ {{ if (eq $version $.Site.Params.docs_version) -}}
19
19
<span class="badge bg-primary">Latest</span>
20
20
{{- end }}
21
21
</a>
Original file line number Diff line number Diff line change 2
2
baseurl : " https://getbootstrap.com"
3
3
description : " Every minor and patch release from v1 is listed below."
4
4
versions :
5
- - v : " 1.0.0"
6
- - v : " 1.1.0"
7
- - v : " 1.1.1"
8
- - v : " 1.2.0"
9
- - v : " 1.3.0"
10
- - v : " 1.4.0"
5
+ - " 1.0.0"
6
+ - " 1.1.0"
7
+ - " 1.1.1"
8
+ - " 1.2.0"
9
+ - " 1.3.0"
10
+ - " 1.4.0"
11
11
12
12
- group : v2.x
13
13
baseurl : " https://getbootstrap.com"
14
14
description : " Every minor and patch release from v2 is listed below."
15
15
versions :
16
- - v : " 2.0.0"
17
- - v : " 2.0.1"
18
- - v : " 2.0.2"
19
- - v : " 2.0.3"
20
- - v : " 2.0.4"
21
- - v : " 2.1.0"
22
- - v : " 2.1.1"
23
- - v : " 2.2.0"
24
- - v : " 2.2.1"
25
- - v : " 2.2.2"
26
- - v : " 2.3.0"
27
- - v : " 2.3.1"
28
- - v : " 2.3.2"
16
+ - " 2.0.0"
17
+ - " 2.0.1"
18
+ - " 2.0.2"
19
+ - " 2.0.3"
20
+ - " 2.0.4"
21
+ - " 2.1.0"
22
+ - " 2.1.1"
23
+ - " 2.2.0"
24
+ - " 2.2.1"
25
+ - " 2.2.2"
26
+ - " 2.3.0"
27
+ - " 2.3.1"
28
+ - " 2.3.2"
29
29
30
30
- group : v3.x
31
31
baseurl : " https://getbootstrap.com/docs"
32
32
description : " Every minor and patch release from v3 is listed below. Last update was v3.4.1."
33
33
versions :
34
- - v : " 3.3"
35
- - v : " 3.4"
34
+ - " 3.3"
35
+ - " 3.4"
36
36
37
37
- group : v4.x
38
38
baseurl : " https://getbootstrap.com/docs"
39
39
description : " Our previous major release with its minor releases. Last update was v4.6.0."
40
40
versions :
41
- - v : " 4.0"
42
- - v : " 4.1"
43
- - v : " 4.2"
44
- - v : " 4.3"
45
- - v : " 4.4"
46
- - v : " 4.5"
47
- - v : " 4.6"
41
+ - " 4.0"
42
+ - " 4.1"
43
+ - " 4.2"
44
+ - " 4.3"
45
+ - " 4.4"
46
+ - " 4.5"
47
+ - " 4.6"
48
48
49
49
- group : v5.x
50
50
baseurl : " https://getbootstrap.com/docs"
51
51
description : " Current major release. Last update was v5.3.0-alpha1."
52
52
versions :
53
- - v : " 5.0"
54
- - v : " 5.1"
55
- - v : " 5.2"
56
- - v : " 5.3"
53
+ - " 5.0"
54
+ - " 5.1"
55
+ - " 5.2"
56
+ - " 5.3"
You can’t perform that action at this time.
0 commit comments