1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-29 08:10:47 +02:00

docs: use urls.JoinPath in more places (#39778)

This commit is contained in:
XhmikosR
2024-03-22 11:50:03 +02:00
committed by GitHub
parent d1636a7540
commit 11037f8407
2 changed files with 3 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ description: An appendix of hosted documentation for nearly every release of Boo
{{- range $i, $version := $versions }}
{{- $len := len $versions -}}
{{ if (eq $i 0) }}<div class="list-group">{{ end }}
<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 }}/">
<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="{{ urls.JoinPath $release.baseurl $version "/" }}">
{{ $version }}
{{ if (eq $version $.Site.Params.docs_version) -}}
<span class="badge text-bg-primary">Latest</span>