Skip to content

Commit c54aa57

Browse files
committed
fix(header): update version links to use relLangURL for correct language routing
1 parent eb7faf5 commit c54aa57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/partials/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
<div class="dropdown" id="docs-versions">
7676
<div class="list fw-500">
7777
{{ range . }}
78-
<a class="list-link" href="/{{ . }}/">{{ . }}</a>
78+
<a class="list-link" href="{{ . | relLangURL }}">{{ . }}</a>
7979
{{ end }}
8080
<a class="list-link" href='{{ "/" | relLangURL }}'>{{ i18n "versions" }}</a>
8181
</div>

0 commit comments

Comments
 (0)