Skip to content

Commit 55f93e6

Browse files
author
Tim Bannister
committed
Update layouts for Katacoda removal
1 parent cc45be9 commit 55f93e6

File tree

6 files changed

+17
-15
lines changed

6 files changed

+17
-15
lines changed

data/i18n/en/en.toml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -211,17 +211,16 @@ other = "JavaScript must be [enabled](https://www.enable-javascript.com/) to vie
211211

212212
[katacoda_message]
213213
other = """<h4>Shutdown of interactive tutorials</h4>
214-
<p>The interactive tutorials on this website are being shut down. The Kubernetes
215-
project hopes to reinstate a similar interactive learning option in the long
216-
term.</p>
217-
<p>The shutdown follows O'Reilly Media's 2019 <a
218-
href="https://www.oreilly.com/content/oreilly-acquires-katacoda-and-a-new-way-for-2-5m-customers-to-learn/">acquisition</a>
219-
of Katacoda.</p>
214+
<p>The interactive tutorials previously on this website have been shut down.</p>
220215
<p>Kubernetes is grateful to O'Reilly and Katacoda for many years of helping
221216
people take their first steps in learning Kubernetes.</p>
222-
<p>The tutorials will cease to function after the <b>31<sup>st</sup> of March,
223-
2023</b>. For more information, see "<a href="/blog/2023/02/14/kubernetes-katacoda-tutorials-stop-from-2023-03-31/">Free Katacoda Kubernetes Tutorials Are Shutting
224-
Down</a>."</p>"""
217+
<p>The shutdown followed O'Reilly Media's 2019
218+
<a href="https://www.oreilly.com/content/oreilly-acquires-katacoda-and-a-new-way-for-2-5m-customers-to-learn/">acquisition</a>
219+
of Katacoda.</p>
220+
<hr />
221+
<p>The tutorials ceased to function after the <b>31<sup>st</sup> of March,
222+
2023</b>. You are seeing this notice because this particular page has not yet been updated
223+
following that shutdown.</p>"""
225224

226225
[latest_release]
227226
other = "Latest Release:"

layouts/docs/single.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{{ define "main" }}
22
<div class="td-content">
3+
{{- if .HasShortcode "kat-button" -}}
4+
<div class="pageinfo pageinfo-secondary">
5+
{{ T "katacoda_message" | safeHTML }}
6+
</div>
7+
{{- end -}}
38
{{ partial "docs/content-page" (dict "ctx" . "page" .) }}
49
<!-- Partial "docs/api-reference-links" determines API reference links for 'partial/page-meta-links.html' -->
510
{{ partial "docs/api-reference-links" . }}

layouts/shortcodes/kat-button

Lines changed: 0 additions & 2 deletions
This file was deleted.

layouts/shortcodes/kat-button.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
{{/* placeholder */}}
2+
{{/* See https://k8s.io/blog/2023/02/14/kubernetes-katacoda-tutorials-stop-from-2023-03-31/ */}}

layouts/shortcodes/katacoda-removal.html

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
<script defer src="https://katacoda.com/embed.js"></script>
1+
{{/* placeholder */}}
2+
{{/* See https://k8s.io/blog/2023/02/14/kubernetes-katacoda-tutorials-stop-from-2023-03-31/ */}}

0 commit comments

Comments
 (0)