File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ description: An appendix of hosted documentation for nearly every release of Boo
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 $.Site.Params.docs_version) }} d-flex justify-content-between align-items-center{{ end }}" href="{{ $release.baseurl }}/{{ $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="{{ urls.JoinPath $release.baseurl $version "/" }} ">
17
17
{{ $version }}
18
18
{{ if (eq $version $.Site.Params.docs_version) -}}
19
19
<span class="badge text-bg-primary">Latest</span>
Original file line number Diff line number Diff line change 36
36
{{- else }}
37
37
< li class ="bd-links-span-all mt-1 mb-3 mx-4 border-top "> </ li >
38
38
< li class ="bd-links-span-all ">
39
- < a href ="/docs/{{ $.Site.Params.docs_version }}/{{ $group_slug }}/ " class ="bd-links-link d-inline-block rounded small {{ if $is_active_group }} active{{ end }} "{{ if $is_active_group }} aria-current ="page "{{ end }} >
39
+ {{- $href := urls.JoinPath "/docs" $.Site.Params.docs_version $group_slug "/" }}
40
+ < a href ="{{ $href }} " class ="bd-links-link d-inline-block rounded small{{ if $is_active_group }} active{{ end }} "{{ if $is_active_group }} aria-current ="page "{{ end }} >
40
41
{{ $group.title }}
41
42
</ a >
42
43
</ li >
You can’t perform that action at this time.
0 commit comments