Merge pull request #175 from upbound/version-alert-fix

Corrects the check to see if this doc is for the latest version.
This commit is contained in:
Pete Lumbis 2022-10-28 14:00:41 -04:00 committed by GitHub
commit fd52942f91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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}}