Add warning about Katacoda shutdown
This commit is contained in:
@@ -96,6 +96,9 @@ other = "email address"
|
|||||||
[javascript_required]
|
[javascript_required]
|
||||||
other = "JavaScript must be [enabled](https://www.enable-javascript.com/) to view this content"
|
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]
|
[latest_release]
|
||||||
other = "Latest Release:"
|
other = "Latest Release:"
|
||||||
|
|
||||||
|
|||||||
@@ -24,6 +24,11 @@
|
|||||||
{{ if not .Site.Params.ui.breadcrumb_disable }}{{ partial "breadcrumb.html" . }}{{ end }}
|
{{ if not .Site.Params.ui.breadcrumb_disable }}{{ partial "breadcrumb.html" . }}{{ end }}
|
||||||
{{ block "deprecated" . }}
|
{{ block "deprecated" . }}
|
||||||
{{ partial "deprecation-warning.html" . }}
|
{{ partial "deprecation-warning.html" . }}
|
||||||
|
{{ end }}
|
||||||
|
{{ if .HasShortcode "kat-button" }}
|
||||||
|
{{ block "katacoda-removal" . }}
|
||||||
|
{{ partial "katacoda-removal.html" . }}
|
||||||
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ block "main" . }}{{ end }}
|
{{ block "main" . }}{{ end }}
|
||||||
{{- if .HasShortcode "thirdparty-content" -}}
|
{{- if .HasShortcode "thirdparty-content" -}}
|
||||||
|
|||||||
@@ -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>
|
||||||
Reference in New Issue
Block a user