File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -454,7 +454,7 @@ ol li:last-child {
454
454
display : none;
455
455
width : 400px ;
456
456
max-width : 80vw ;
457
- margin-right : 2 rem ;
457
+ margin-right : 1 rem ;
458
458
}
459
459
460
460
.dropdown-content ul {
Original file line number Diff line number Diff line change 23
23
}}
24
24
{{ $productMap := dict }}
25
25
{{ range $nginxProducts }}
26
- {{ $productId := index (split .url "/") 1 }}
27
- {{ $productMap = merge $productMap (dict $productId .title) }}
26
+ {{ if not (or (eq .title "NGINX Open Source" ) (eq .title "NGINX Unit")) }}
27
+ {{ $productId := index (split .url "/") 1 }}
28
+ {{ $productMap = merge $productMap (dict $productId .title) }}
29
+ {{ end }}
28
30
{{ end }}
29
31
{{ $relPermalink := .RelPermalink }}
30
32
{{ $productIdentifier := index ((split $relPermalink "/")) 1 }}
31
- {{ $productName := index $productMap $productIdentifier }}
33
+ {{ $productName := index $productMap $productIdentifier | default "Product Documentation" }}
32
34
33
35
< button class ="product-selector__button " id ="product-selector-button ">
34
36
{{/* product name and selector */}}
You can’t perform that action at this time.
0 commit comments