{{- if eq .Page.Params.version "master" -}}

PLEASE NOTE: This document applies to an unreleased version of Crossplane. It is strongly recommended that you only use official releases of Crossplane, as unreleased versions are subject to changes and incompatibilities that will not be supported in the official releases.

If you are using an official release version of Crossplane, you should refer to the documentation for your specific version.

Documentation for other releases can be found by using the version selector in the top right of any doc page.
{{- else if ne .Page.Params.version .Site.Params.latest -}}

PLEASE NOTE: This document applies to version {{ .Page.Params.version }} and not to the latest release {{.Site.Params.latest}}

Documentation for other releases can be found by using the version selector in the top right of any doc page.
{{- end -}}