mirror of https://github.com/crossplane/docs.git
Corrects the check to see if this doc is for the latest version. Caused by versions param being a string now
Signed-off-by: Pete Lumbis <pete@upbound.io>
This commit is contained in:
parent
e24ea71b78
commit
01034751e5
|
@ -10,7 +10,7 @@
|
|||
Documentation for other releases can be found by using the version selector in the top right of any doc page.
|
||||
</strong>
|
||||
</div>
|
||||
{{- else if lt .Page.Params.version .Site.Params.latest -}}
|
||||
{{- else if ne .Page.Params.version .Site.Params.latest -}}
|
||||
<div class="alert old">
|
||||
<p>
|
||||
<b>PLEASE NOTE</b>: This document applies to version {{ .Page.Params.version }} and not to the latest release {{.Site.Params.latest}}
|
||||
|
|
Loading…
Reference in New Issue