Update layouts for Katacoda removal

pull/47417/head
Tim Bannister 2024-08-09 12:39:57 +01:00
parent cc45be97ed
commit 55f93e6878
6 changed files with 17 additions and 15 deletions

View File

@ -211,17 +211,16 @@ other = "JavaScript must be [enabled](https://www.enable-javascript.com/) to vie
[katacoda_message]
other = """<h4>Shutdown of interactive tutorials</h4>
<p>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.</p>
<p>The shutdown follows O'Reilly Media's 2019 <a
href="https://www.oreilly.com/content/oreilly-acquires-katacoda-and-a-new-way-for-2-5m-customers-to-learn/">acquisition</a>
of Katacoda.</p>
<p>The interactive tutorials previously on this website have been shut down.</p>
<p>Kubernetes is grateful to O'Reilly and Katacoda for many years of helping
people take their first steps in learning Kubernetes.</p>
<p>The tutorials will cease to function after the <b>31<sup>st</sup> of March,
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
Down</a>."</p>"""
<p>The shutdown followed O'Reilly Media's 2019
<a href="https://www.oreilly.com/content/oreilly-acquires-katacoda-and-a-new-way-for-2-5m-customers-to-learn/">acquisition</a>
of Katacoda.</p>
<hr />
<p>The tutorials ceased to function after the <b>31<sup>st</sup> of March,
2023</b>. You are seeing this notice because this particular page has not yet been updated
following that shutdown.</p>"""
[latest_release]
other = "Latest Release:"

View File

@ -1,5 +1,10 @@
{{ define "main" }}
<div class="td-content">
{{- if .HasShortcode "kat-button" -}}
<div class="pageinfo pageinfo-secondary">
{{ T "katacoda_message" | safeHTML }}
</div>
{{- end -}}
{{ partial "docs/content-page" (dict "ctx" . "page" .) }}
<!-- Partial "docs/api-reference-links" determines API reference links for 'partial/page-meta-links.html' -->
{{ partial "docs/api-reference-links" . }}

View File

@ -1,2 +0,0 @@
<script defer src="https://katacoda.com/embed.js"></script>
<button class="button" onclick="window.katacoda.init(); ">Launch Terminal</button>

View File

@ -0,0 +1,2 @@
{{/* placeholder */}}
{{/* See https://k8s.io/blog/2023/02/14/kubernetes-katacoda-tutorials-stop-from-2023-03-31/ */}}

View File

@ -1,3 +0,0 @@
<div class="pageinfo pageinfo-secondary">
{{ T "katacoda_message" | safeHTML }}
</div>

View File

@ -1 +1,2 @@
<script defer src="https://katacoda.com/embed.js"></script>
{{/* placeholder */}}
{{/* See https://k8s.io/blog/2023/02/14/kubernetes-katacoda-tutorials-stop-from-2023-03-31/ */}}