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 {
454454 display : none;
455455 width : 400px ;
456456 max-width : 80vw ;
457- margin-right : 2 rem ;
457+ margin-right : 1 rem ;
458458 }
459459
460460 .dropdown-content ul {
Original file line number Diff line number Diff line change 2323 }}
2424 {{ $productMap := dict }}
2525 {{ 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 }}
2830 {{ end }}
2931 {{ $relPermalink := .RelPermalink }}
3032 {{ $productIdentifier := index ((split $relPermalink "/")) 1 }}
31- {{ $productName := index $productMap $productIdentifier }}
33+ {{ $productName := index $productMap $productIdentifier | default "Product Documentation" }}
3234
3335 < button class ="product-selector__button " id ="product-selector-button ">
3436 {{/* product name and selector */}}
You can’t perform that action at this time.
0 commit comments