From e0e8a77d4d28044e51ee9ba4f78ae868c6fa38a2 Mon Sep 17 00:00:00 2001 From: Catherine Luse Date: Wed, 2 Jun 2021 03:54:56 -0700 Subject: [PATCH] Make versioning notice appear on every page of v2.x docs --- layouts/_default/list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 0cbafa759ff..ac7639d1cfa 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -25,7 +25,7 @@ {{ $product := index $path 1 }} {{ $version := index $path 2 }} {{ $productVersion := printf "%s/%s" $product $version}} - {{ if eq $productVersion "rancher/v2.x" }} + {{ if in .Dir "rancher/v2.x" }}
We are transitioning to versioned documentation. The v2.x docs will no longer be maintained. For Rancher v2.5 docs, go here. For Rancher v2.0-v2.4 docs, go here.