Skip to content

Commit 7553192

Browse files
committed
fix urls for dropdown
1 parent dee1df6 commit 7553192

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/_includes/sidebar.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<label class="d-flex mr-4 flex-items-center">
33
<span class="mr-4">Version</span>
44
<select class="flex-1" onchange="window.location.href = this.value">
5-
<option value="/guide/introduction" {% if page.version == 1 %} selected{% endif %}>v1.x.x</option>
6-
<option value="/guide-v2/introduction" {% if page.version == 2 %} selected{% endif %}>v2.x.x</option>
5+
<option value="{{ site.baseurl }}/guide/introduction" {% if page.version == 1 %} selected{% endif %}>v1.x.x</option>
6+
<option value="{{ site.baseurl }}/guide-v2/introduction" {% if page.version == 2 %} selected{% endif %}>v2.x.x</option>
77
</select>
88
</label>
99
<br>

0 commit comments

Comments
 (0)