Skip to content

Commit 8aed414

Browse files
authored
Merge pull request cds-hooks#498 from buildpacks/feature-gate-katacoda
Place Katacoda links behind a feature gate
2 parents 6ffc5c2 + f80910b commit 8aed414

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

config.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ description = "Cloud Native Buildpacks transform your application source code in
1818

1919
pack_version_env_var = "PACK_VERSION"
2020

21+
featureKatacoda = false
22+
2123
[menu]
2224

2325
[[menu.main]]
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
<a href='{{- .Get "href" -}}' class='button learn-button icon-button {{ with .Get "color"}}bg-{{.}}{{ end }}'>{{- .Inner -}}</a><br />
1+
{{ if $.Site.Params.featureKatacoda }}
2+
<a href='{{- .Get "href" -}}' class='button learn-button icon-button {{ with .Get "color"}}bg-{{.}}{{ end }}'>{{- .Inner -}}</a><br />
3+
{{ end }}

0 commit comments

Comments
 (0)