Add banner to out-of-date doc versions w/ link to latest

This commit is contained in:
Billy Tat
2022-01-27 14:15:06 -08:00
parent 69fab469dc
commit 737fe27dce
+5
View File
@@ -40,6 +40,11 @@
<strong>RancherOS 1.x is currently in a maintain-only-as-essential mode.</strong> It is no longer being actively maintained at a code level other than addressing critical or security fixes. For more information about the support status of RancherOS, see <a href="https://rancher.com/docs/os/v1.x/en/support/"> this page.</a> <strong>RancherOS 1.x is currently in a maintain-only-as-essential mode.</strong> It is no longer being actively maintained at a code level other than addressing critical or security fixes. For more information about the support status of RancherOS, see <a href="https://rancher.com/docs/os/v1.x/en/support/"> this page.</a>
</div> </div>
{{end}} {{end}}
{{ if or (in .Dir "/v2.0-v2.4") (in .Dir "/v2.5") }}
<div class="alert alert-notice">
<strong>You are viewing the documentation for an older Rancher release.</strong> If you're looking for the documentation for the latest Rancher release, go to <a href="https://rancher.com/docs/rancher/v2.6/en/"> this page</a> instead.
</div>
{{end}}
<div class=" <div class="
col-xl-3 col-xl-3