We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 020d03e commit eed272cCopy full SHA for eed272c
exampleSite/data/product-selector.yaml
@@ -1,7 +1,7 @@
1
- productGroup: Test Product
2
products:
3
- title: "Test Product"
4
- url: "/test-product"
+ url: "test-product"
5
6
- productGroup: Test External Links
7
@@ -12,4 +12,4 @@
12
- productGroup: NGINX
13
14
- title: "NGINX"
15
- url: "/nginx"
+ url: "nginx"
layouts/partials/sidebar-v2.html
@@ -53,7 +53,7 @@ <h3 class="product-selector__product-group">{{ $group.productGroup }}</h3>
53
{{ range $product := $products }}
54
<li class="product-selector__product">
55
<a
56
- href="{{ $product.url }}"
+ href="{{ absURL $product.url }}"
57
aria-label="{{ $product.title }} documentation"
58
{{ if $product.extUrl }} target="_blank" {{ end }}
59
>
0 commit comments