File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,9 @@ params:
1515 items : <Product[]>
1616 # Product Group Label
1717 - title : <string>
18- # The common top-level path for all documents within a domain; i.e. 'nginx' for NGINX+
19- pathPrefix : <string>
20- # Whether this link is external to the site
21- extUrl : <bool>
18+ # The common top-level path for all internal documents within a domain; i.e. 'nginx' for NGINX+.
19+ # Supply if the link is external to the site.
20+ url : <string | undefined>
2221 header :
2322 # Header Nav items
2423 navItems : <NavItem[]>
@@ -136,7 +135,14 @@ would require we rewrite all our current CSS variable calls
136135| ` _iconDirect ` | ` string \| undefined ` | A direct path for the icon resource to render. If supplied, ` set ` and ` icon ` params are ignored in handling. |
137136
138137``` go-template
139- {{ partial "icon.html" set="lucide" size="md" icon="test-icon-id" _iconDirect="" . }}
138+ {{ $iconPartialParams = (dict
139+ "size" "md"
140+ "set" "lucide"
141+ "icon" "lock-open"
142+ "_iconDirect" ""
143+ )}}
144+
145+ {{ partial "icon.html" $iconPartialParams }}
140146```
141147
142148## Additional Notes
You can’t perform that action at this time.
0 commit comments