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 a10d773 commit da80299Copy full SHA for da80299
exampleSite/data/product-selector.yaml
@@ -0,0 +1,9 @@
1
+- productGroup: Test Product
2
+ products:
3
+ - title: "Test Product"
4
+ url: "/test-product"
5
+
6
+- productGroup: NGINX
7
8
+ - title: "NGINX"
9
+ url: "/nginx"
layouts/partials/sidebar-v2.html
@@ -44,7 +44,7 @@
44
{{ with index .Site.Data "product-selector" }}
45
{{ $groups := . }}
46
{{ range $group := $groups }}
47
- <h3 class="product-selector__product-group">{{ upper (replace $group.productGroup "-" " ") }}</h3>
+ <h3 class="product-selector__product-group">{{ $group.productGroup }}</h3>
48
<ul>
49
{{ $products := sort $group.products "productOrder" }}
50
{{ range $product := $products }}
0 commit comments