Merge pull request #42814 from dipesh-rawat/backport-release-1.24
Backport "layouts/docs/release-info.html" to release-1.24pull/43525/head
commit
64ab5b85cd
|
@ -2,6 +2,8 @@
|
|||
linktitle: Release History
|
||||
title: Releases
|
||||
type: docs
|
||||
layout: release-info
|
||||
notoc: true
|
||||
---
|
||||
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ other = "YouTube"
|
|||
other = "You are viewing documentation for Kubernetes version:"
|
||||
|
||||
[deprecation_warning]
|
||||
other = " documentation is no longer actively maintained. The version you are currently viewing is a static snapshot. For up-to-date documentation, see the "
|
||||
other = " documentation is no longer actively maintained. The version you are currently viewing is a static snapshot. For up-to-date information, see the "
|
||||
|
||||
[deprecation_file_warning]
|
||||
other = "Deprecated"
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
{{ define "main" }}
|
||||
{{ if not .Site.Params.deprecated }}
|
||||
{{ .Content }}
|
||||
{{ else }}
|
||||
<div class="section-index">
|
||||
{{ range where .Site.Pages "Section" "releases" }}
|
||||
{{ if not .IsNode }}
|
||||
<div class="entry">
|
||||
<h5><a href="{{ .RelPermalink }}">{{ .Title }}</a></h5>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
Loading…
Reference in New Issue