mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-28 22:18:52 +00:00
Merge pull request #3320 from catherineluse/master
Make versioning notice appear on every page of v2.x docs
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
{{ $product := index $path 1 }}
|
{{ $product := index $path 1 }}
|
||||||
{{ $version := index $path 2 }}
|
{{ $version := index $path 2 }}
|
||||||
{{ $productVersion := printf "%s/%s" $product $version}}
|
{{ $productVersion := printf "%s/%s" $product $version}}
|
||||||
{{ if eq $productVersion "rancher/v2.x" }}
|
{{ if in .Dir "rancher/v2.x" }}
|
||||||
<div class="alert alert-notice">
|
<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>
|
<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>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user