We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6ffc5c2 + f80910b commit 8aed414Copy full SHA for 8aed414
config.toml
@@ -18,6 +18,8 @@ description = "Cloud Native Buildpacks transform your application source code in
18
19
pack_version_env_var = "PACK_VERSION"
20
21
+featureKatacoda = false
22
+
23
[menu]
24
25
[[menu.main]]
themes/buildpacks/layouts/shortcodes/katacoda-button.html
@@ -1 +1,3 @@
1
-<a href='{{- .Get "href" -}}' class='button learn-button icon-button {{ with .Get "color"}}bg-{{.}}{{ end }}'>{{- .Inner -}}</a><br />
+{{ 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