File tree 2 files changed +10
-11
lines changed
docs/website/layouts/partials/docs
2 files changed +10
-11
lines changed Original file line number Diff line number Diff line change 16
16
{{ $operations := where $allDocs ".Params.kind" "eq" "operations" }}
17
17
{{ $management := where $allDocs ".Params.kind" "eq" "management" }}
18
18
{{ $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 " }}
20
20
{{ $version := index (split .File.Path "/") 1 }}
21
21
{{ $pageUrl := .Permalink }}
22
22
< nav class ="navbar is-primary ">
66
66
Support
67
67
</ span >
68
68
< a class ="navbar-item " href ="/support ">
69
- Enterprise and Commercial
69
+ Enterprise
70
70
</ a >
71
71
< a class ="navbar-item " href ="/community ">
72
72
Community
73
73
</ a >
74
+ < a class ="navbar-item " href ="/ecosystem ">
75
+ OPA Ecosystem
76
+ </ a >
74
77
</ div >
75
78
76
79
< div class ="navbar-end ">
Original file line number Diff line number Diff line change 8
8
{{ $operations := where $allDocs ".Params.kind" "eq" "operations" }}
9
9
{{ $management := where $allDocs ".Params.kind" "eq" "management" }}
10
10
{{ $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" }}
13
14
{{ $pageUrl := .Permalink }}
14
15
{{ $isDocsHome := eq .Permalink $docsHome.Permalink }}
15
16
{{ $version := index (split .File.Path "/") 1 }}
53
54
54
55
{{ partial "docs/sidenav-section.html" ( dict "ctx" . "sectionTitle" "Support" "section" $support "pageUrl" $pageUrl "version" $version ) }}
55
56
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