{{ $color := "primary" }} {{ if .Site.Params.deprecated }} {{/* Change the `deprecated` param to Docsy provided `archived_version` param once all use of this param is updated */}} {{ $latest_version := .Site.Params.url_latest_version }} {{ $current_version := .Site.Params.version }}
{{ with $current_version }}

{{ T "deprecation_title" }} {{ . | markdownify }}

Kubernetes {{ . | markdownify }} {{ T "deprecation_warning" }} {{ T "latest_version" }}

{{ end }}
{{ else if and (eq .Section "blog") (not .Params.evergreen) .Date (.Date.Before (now.AddDate -1 0 0)) -}}

{{ T "outdated_blog__message" }}

{{ end }}