diff --git a/content/en/releases/_index.md b/content/en/releases/_index.md index 5b62f95d82..2dab2391d5 100644 --- a/content/en/releases/_index.md +++ b/content/en/releases/_index.md @@ -2,6 +2,7 @@ linktitle: Release History title: Releases type: docs +layout: release-info --- diff --git a/data/i18n/en/en.toml b/data/i18n/en/en.toml index 149e0204a1..a31ac63dca 100644 --- a/data/i18n/en/en.toml +++ b/data/i18n/en/en.toml @@ -65,7 +65,7 @@ other = "(last updated: %s)" other = "You are viewing documentation for Kubernetes version:" [deprecation_warning] -other = " documentation is no longer actively maintained. The version you are currently viewing is a static snapshot. For up-to-date documentation, see the " +other = " documentation is no longer actively maintained. The version you are currently viewing is a static snapshot. For up-to-date information, see the " [deprecation_file_warning] other = "Deprecated" diff --git a/layouts/docs/release-info.html b/layouts/docs/release-info.html new file mode 100644 index 0000000000..d5e61ee88b --- /dev/null +++ b/layouts/docs/release-info.html @@ -0,0 +1,5 @@ +{{ define "main" }} +{{ if not .Site.Params.deprecated }} + {{ .Content }} +{{ end }} +{{ end }} \ No newline at end of file