From fc8c3536d1f8d869c8ec6c26e7bf1d804040ffce Mon Sep 17 00:00:00 2001 From: Rishit Dagli Date: Mon, 13 Jun 2022 16:36:48 +0000 Subject: [PATCH] Remove katacoda warning --- data/i18n/en/en.toml | 3 --- layouts/docs/baseof.html | 5 ----- layouts/partials/katacoda-removal.html | 7 ------- 3 files changed, 15 deletions(-) delete mode 100644 layouts/partials/katacoda-removal.html diff --git a/data/i18n/en/en.toml b/data/i18n/en/en.toml index 3d164e1841..6c57982f9b 100644 --- a/data/i18n/en/en.toml +++ b/data/i18n/en/en.toml @@ -96,9 +96,6 @@ 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 .""" - [latest_release] other = "Latest Release:" diff --git a/layouts/docs/baseof.html b/layouts/docs/baseof.html index 6a6f699056..846073bcf1 100644 --- a/layouts/docs/baseof.html +++ b/layouts/docs/baseof.html @@ -24,11 +24,6 @@ {{ if not .Site.Params.ui.breadcrumb_disable }}{{ partial "breadcrumb.html" . }}{{ end }} {{ block "deprecated" . }} {{ partial "deprecation-warning.html" . }} - {{ end }} - {{ if or ( .HasShortcode "kat-button" ) ( .HasShortcode "katacoda-tutorial" ) }} - {{ block "katacoda-removal" . }} - {{ partial "katacoda-removal.html" . }} - {{ end }} {{ end }} {{ block "main" . }}{{ end }} {{- if .HasShortcode "thirdparty-content" -}} diff --git a/layouts/partials/katacoda-removal.html b/layouts/partials/katacoda-removal.html deleted file mode 100644 index 87ff83b417..0000000000 --- a/layouts/partials/katacoda-removal.html +++ /dev/null @@ -1,7 +0,0 @@ -
-
-

- {{ T "katacoda_removal_warning" | markdownify }} -

-
-