Skip to content

Commit

Permalink
Merge branch 'main' into xmr/docs-imgconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Mar 22, 2024
2 parents 2d71791 + 11037f8 commit 4844426
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion site/content/docs/versions.md
Expand Up @@ -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>
Expand Down
3 changes: 2 additions & 1 deletion site/layouts/partials/docs-sidebar.html
Expand Up @@ -36,7 +36,8 @@
{{- else }}
<li class="bd-links-span-all mt-1 mb-3 mx-4 border-top"></li>
<li class="bd-links-span-all">
<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 }}>
{{- $href := urls.JoinPath "/docs" $.Site.Params.docs_version $group_slug "/" }}
<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 }}>
{{ $group.title }}
</a>
</li>
Expand Down

0 comments on commit 4844426

Please sign in to comment.