diff --git a/data/i18n/en/en.toml b/data/i18n/en/en.toml index 738d32fd25..c8077cd476 100644 --- a/data/i18n/en/en.toml +++ b/data/i18n/en/en.toml @@ -211,17 +211,16 @@ other = "JavaScript must be [enabled](https://www.enable-javascript.com/) to vie [katacoda_message] other = """

Shutdown of interactive tutorials

-

The interactive tutorials on this website are being shut down. The Kubernetes -project hopes to reinstate a similar interactive learning option in the long -term.

-

The shutdown follows O'Reilly Media's 2019 acquisition -of Katacoda.

+

The interactive tutorials previously on this website have been shut down.

Kubernetes is grateful to O'Reilly and Katacoda for many years of helping people take their first steps in learning Kubernetes.

-

The tutorials will cease to function after the 31st of March, -2023. For more information, see "Free Katacoda Kubernetes Tutorials Are Shutting -Down."

""" +

The shutdown followed O'Reilly Media's 2019 +acquisition +of Katacoda.

+
+

The tutorials ceased to function after the 31st of March, +2023. You are seeing this notice because this particular page has not yet been updated +following that shutdown.

""" [latest_release] other = "Latest Release:" diff --git a/layouts/docs/single.html b/layouts/docs/single.html index 8bc6fc7a0a..6db1b9a0de 100644 --- a/layouts/docs/single.html +++ b/layouts/docs/single.html @@ -1,5 +1,10 @@ {{ define "main" }}
+ {{- if .HasShortcode "kat-button" -}} +
+ {{ T "katacoda_message" | safeHTML }} +
+ {{- end -}} {{ partial "docs/content-page" (dict "ctx" . "page" .) }} {{ partial "docs/api-reference-links" . }} diff --git a/layouts/shortcodes/kat-button b/layouts/shortcodes/kat-button deleted file mode 100644 index 4dcdfa5653..0000000000 --- a/layouts/shortcodes/kat-button +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/layouts/shortcodes/kat-button.html b/layouts/shortcodes/kat-button.html new file mode 100644 index 0000000000..d987ff88e3 --- /dev/null +++ b/layouts/shortcodes/kat-button.html @@ -0,0 +1,2 @@ +{{/* placeholder */}} +{{/* See https://k8s.io/blog/2023/02/14/kubernetes-katacoda-tutorials-stop-from-2023-03-31/ */}} diff --git a/layouts/shortcodes/katacoda-removal.html b/layouts/shortcodes/katacoda-removal.html deleted file mode 100644 index a00899a2e7..0000000000 --- a/layouts/shortcodes/katacoda-removal.html +++ /dev/null @@ -1,3 +0,0 @@ -
-{{ T "katacoda_message" | safeHTML }} -
diff --git a/layouts/shortcodes/katacoda-tutorial.html b/layouts/shortcodes/katacoda-tutorial.html index a17b4871a2..d987ff88e3 100644 --- a/layouts/shortcodes/katacoda-tutorial.html +++ b/layouts/shortcodes/katacoda-tutorial.html @@ -1 +1,2 @@ - +{{/* placeholder */}} +{{/* See https://k8s.io/blog/2023/02/14/kubernetes-katacoda-tutorials-stop-from-2023-03-31/ */}}