File tree Expand file tree Collapse file tree 2 files changed +10
-11
lines changed
docs/website/layouts/partials/docs Expand file tree Collapse file tree 2 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 1616{{ $operations := where $allDocs ".Params.kind" "eq" "operations" }}
1717{{ $management := where $allDocs ".Params.kind" "eq" "management" }}
1818{{ $contrib := where $allDocs ".Params.kind" "eq" "contrib" }}
19- {{ $misc := where $allDocs ".Params.kind" "eq" "misc" }}
19+ {{ $misc := where (where $allDocs ".Params.kind" "eq" "misc") ".Title" "ne" "Ecosystem " }}
2020{{ $version := index (split .File.Path "/") 1 }}
2121{{ $pageUrl := .Permalink }}
2222< nav class ="navbar is-primary ">
6666 Support
6767 </ span >
6868 < a class ="navbar-item " href ="/support ">
69- Enterprise and Commercial
69+ Enterprise
7070 </ a >
7171 < a class ="navbar-item " href ="/community ">
7272 Community
7373 </ a >
74+ < a class ="navbar-item " href ="/ecosystem ">
75+ OPA Ecosystem
76+ </ a >
7477 </ div >
7578
7679 < div class ="navbar-end ">
Original file line number Diff line number Diff line change 88{{ $operations := where $allDocs ".Params.kind" "eq" "operations" }}
99{{ $management := where $allDocs ".Params.kind" "eq" "management" }}
1010{{ $contrib := where $allDocs ".Params.kind" "eq" "contrib" }}
11- {{ $misc := where $allDocs ".Params.kind" "eq" "misc" }}
12- {{ $support := where $allDocs ".Params.kind" "eq" "support" }}
11+ {{/* Drop all ecosystem pages in historic versions in favor of hard coded link below */}}
12+ {{ $misc := where (where $allDocs ".Params.kind" "eq" "misc") ".Title" "ne" "Ecosystem" }}
13+ {{ $support := where (where (where $allDocs ".Params.kind" "eq" "support") ".Title" "ne" "Ecosystem") ".Title" "ne" "OPA Ecosystem" }}
1314{{ $pageUrl := .Permalink }}
1415{{ $isDocsHome := eq .Permalink $docsHome.Permalink }}
1516{{ $version := index (split .File.Path "/") 1 }}
5354
5455{{ partial "docs/sidenav-section.html" ( dict "ctx" . "sectionTitle" "Support" "section" $support "pageUrl" $pageUrl "version" $version ) }}
5556
56- < a class ="docs-nav-item " href ="/ecosystem ">
57- OPA Ecosystem
58- </ a >
59-
60- < a class ="docs-nav-item " href ="/support ">
61- Enterprise
62- </ a >
57+ < a class ="docs-nav-item " href ="/ecosystem "> OPA Ecosystem</ a >
58+ < a class ="docs-nav-item " href ="/support "> Enterprise</ a >
You can’t perform that action at this time.
0 commit comments