Reimplement announcements (#21586)
* Reimplement announcements Signed-off-by: Celeste Horgan <celeste@cncf.io> Address deprecation-warning styling Signed-off-by: Celeste Horgan <celeste@cncf.io> Use partial only Signed-off-by: Celeste Horgan <celeste@cncf.io> Refine Signed-off-by: Celeste Horgan <celeste@cncf.io> * Turn on announcements for preview only Signed-off-by: Celeste Horgan <celeste@cncf.io> * Update config.toml Co-authored-by: Celeste Horgan <celeste@cncf.io> Co-authored-by: Zach Corleissen <zacharysarah@users.noreply.github.com>
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
{{ if .Param "deprecated" }}
|
||||
{{ if .Site.Param "deprecated" }}
|
||||
<section id="deprecationWarning">
|
||||
<main>
|
||||
<div class="content deprecation-warning">
|
||||
<h3>
|
||||
Kubernetes {{ .Param "version" }}
|
||||
{{ T "deprecation_warning" }}
|
||||
<a href="{{ site.Params.currentUrl }}">{{ T "latest_version" }}</a>
|
||||
{{ T "deprecation_title" }} {{ .Param "version" }}
|
||||
</h3>
|
||||
<p> Kubernetes {{ .Param "version" }} {{ T "deprecation_warning" }}
|
||||
<a href="{{ site.Params.currentUrl }}">{{ T "latest_version" }}</a>
|
||||
</p>
|
||||
</div>
|
||||
</main>
|
||||
</section>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user