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:
Pete Lumbis 2022-10-27 13:22:53 -04:00
parent e24ea71b78
commit 01034751e5
No known key found for this signature in database
GPG Key ID: FDC6C20960060000
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
Documentation for other releases can be found by using the version selector in the top right of any doc page. Documentation for other releases can be found by using the version selector in the top right of any doc page.
</strong> </strong>
</div> </div>
{{- else if lt .Page.Params.version .Site.Params.latest -}} {{- else if ne .Page.Params.version .Site.Params.latest -}}
<div class="alert old"> <div class="alert old">
<p> <p>
<b>PLEASE NOTE</b>: This document applies to version {{ .Page.Params.version }} and not to the latest release {{.Site.Params.latest}} <b>PLEASE NOTE</b>: This document applies to version {{ .Page.Params.version }} and not to the latest release {{.Site.Params.latest}}