Skip to content

Commit 2d285b7

Browse files
authored
Link to same page from old releases' documentation (#44173)
* added latest page link Signed-off-by: coder12git <[email protected]> * add line Signed-off-by: GitHub <[email protected]> * changes Signed-off-by: coder12git <[email protected]> --------- Signed-off-by: coder12git <[email protected]> Signed-off-by: GitHub <[email protected]>
1 parent 7c1c1b3 commit 2d285b7

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

data/i18n/en/en.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ other = "You are viewing documentation for Kubernetes version:"
6767
[deprecation_warning]
6868
other = " documentation is no longer actively maintained. The version you are currently viewing is a static snapshot. For up-to-date information, see the "
6969

70+
[deprecation_warning_page_link]
71+
other = "For the most up-to-date information of this page, check out the "
72+
7073
[deprecation_file_warning]
7174
other = "Deprecated"
7275

layouts/partials/deprecation-warning.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ <h3>
55
{{ T "deprecation_title" }} {{ .Param "version" }}
66
</h3>
77
<p> Kubernetes {{ .Param "version" }} {{ T "deprecation_warning" }}
8-
<a href="{{ site.Params.currentUrl }}">{{ T "latest_version" }}</a>
8+
<a href="{{ site.Params.currentUrl }}">{{ T "latest_version" }}</a>
9+
</p>
10+
<p> {{ T "deprecation_warning_page_link" }}
11+
<a href="{{ .Permalink }}">{{ T "latest_version" }}</a>
912
</p>
1013
</div>
1114
</section>

0 commit comments

Comments
 (0)