|
1 |
| -<!-- Page banners --> |
2 |
| -{{ if ( eq (string .context.Site.Params.vendor.config.version) "1" )}} |
3 |
| -{{ partial "banners/banner.html" .context }} |
4 |
| -{{ else if and ( ne (string .context.Page.Params.banner.type) "tiered-feature" ) ( ne (string .context.Page.Params.banner.type) "observability-suite" )}} |
5 |
| -{{ partial "banners/banner.html" .context }} |
6 |
| -{{ end }} |
7 | 1 |
|
8 |
| -<!-- Tier-gated features --> |
9 |
| -{{ if eq (string .Site.Params.vendor.config.version) "1"}} |
10 |
| -{{ partial "tiered-features/banner.html" .context }} |
11 |
| -{{ end }} |
12 |
| - |
13 |
| -<!-- If the feature is part of the Observability Suite --> |
14 |
| -{{ if eq (string .Site.Params.vendor.config.version) "1"}} |
15 |
| -{{ partial "observability-suite/banner.html" .context }} |
16 |
| -{{ end }} |
17 | 2 |
|
18 | 3 | <!-- If the feature is in beta -->
|
19 | 4 | {{ partial "beta-flag/banner.html" .context }}
|
@@ -127,6 +112,23 @@ <h3 class="pt-4 pb-2 font-light text-base text-slate">On this page</h3>
|
127 | 112 | {{ end }}
|
128 | 113 | {{ end }}
|
129 | 114 |
|
| 115 | + <!-- Page banners --> |
| 116 | + {{ if ( eq (string .context.Site.Params.vendor.config.version) "1" )}} |
| 117 | + {{ partial "banners/banner.html" .context }} |
| 118 | + {{ else if and ( ne (string .context.Page.Params.banner.type) "tiered-feature" ) ( ne (string .context.Page.Params.banner.type) "observability-suite" )}} |
| 119 | + {{ partial "banners/banner.html" .context }} |
| 120 | + {{ end }} |
| 121 | + |
| 122 | + <!-- Tier-gated features --> |
| 123 | + {{ if eq (string .Site.Params.vendor.config.version) "1"}} |
| 124 | + {{ partial "tiered-features/banner.html" .context }} |
| 125 | + {{ end }} |
| 126 | + |
| 127 | + <!-- If the feature is part of the Observability Suite --> |
| 128 | + {{ if eq (string .Site.Params.vendor.config.version) "1"}} |
| 129 | + {{ partial "observability-suite/banner.html" .context }} |
| 130 | + {{ end }} |
| 131 | + |
130 | 132 | <!-- Page content, anchorized -->
|
131 | 133 | {{ partial "headline-hash.html" .context.Content }}
|
132 | 134 |
|
|
0 commit comments