Revert "Prevent 2.x docs from being indexed by Google search"

Just realized this won't work because meta tags have to be
in the head.
This reverts commit d69cd9a02a.
This commit is contained in:
Catherine Luse
2021-06-18 12:23:21 -07:00
parent d69cd9a02a
commit 92336cbb7c

View File

@@ -26,7 +26,6 @@
{{ $version := index $path 2 }}
{{ $productVersion := printf "%s/%s" $product $version}}
{{ if in .Dir "/v2.x" }}
<meta name="robots" content="noindex">
<div class="alert alert-notice">
<strong>We are transitioning to versioned documentation.</strong> The v2.x docs will no longer be maintained. For Rancher v2.5 docs, go <a href="https://rancher.com/docs/rancher/v2.5/en/">here.</a> For Rancher v2.0-v2.4 docs, go <a href="https://rancher.com/docs/rancher/v2.0-v2.4/en/">here.</a>
</div>