1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-01 01:21:49 +02:00

Doc: use .text-bg-{color} for all badges

This commit is contained in:
Julien Déramond
2023-09-20 11:04:19 +02:00
committed by Mark Otto
parent dac60074dc
commit f7426c08e7
6 changed files with 69 additions and 69 deletions

View File

@@ -16,7 +16,7 @@ description: An appendix of hosted documentation for nearly every release of Boo
<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 }}/">
{{ $version }}
{{ if (eq $version $.Site.Params.docs_version) -}}
<span class="badge bg-primary">Latest</span>
<span class="badge text-bg-primary">Latest</span>
{{- end }}
</a>
{{ if (eq (add $i 1) $len) }}</div>{{ end }}