Add warning about Katacoda shutdown

This commit is contained in:
Tim Bannister
2022-05-28 17:17:09 +01:00
parent a7d02c45ae
commit e173bf4940
3 changed files with 15 additions and 0 deletions
+3
View File
@@ -96,6 +96,9 @@ other = "email address"
[javascript_required]
other = "JavaScript must be [enabled](https://www.enable-javascript.com/) to view this content"
[katacoda_removal_warning]
other = """This online tutorial on this page uses functionality that will [not be available](https://www.oreilly.com/online-learning/leveraging-katacoda-technology.html) past <time datetime="2022-06-15">June 15th, 2022</time>."""
[latest_release]
other = "Latest Release:"
+5
View File
@@ -24,6 +24,11 @@
{{ if not .Site.Params.ui.breadcrumb_disable }}{{ partial "breadcrumb.html" . }}{{ end }}
{{ block "deprecated" . }}
{{ partial "deprecation-warning.html" . }}
{{ end }}
{{ if .HasShortcode "kat-button" }}
{{ block "katacoda-removal" . }}
{{ partial "katacoda-removal.html" . }}
{{ end }}
{{ end }}
{{ block "main" . }}{{ end }}
{{- if .HasShortcode "thirdparty-content" -}}
+7
View File
@@ -0,0 +1,7 @@
<section id="katacoda-removal-warning">
<div class="content warning pageinfo pageinfo-warning">
<p>
{{ T "katacoda_removal_warning" | markdownify }}
</p>
</div>
</section>