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:
Celeste Horgan
2020-06-09 13:46:05 -07:00
committed by GitHub
parent 0d766f1400
commit 9b9ce1f942
9 changed files with 32 additions and 21 deletions
+7 -1
View File
@@ -23,7 +23,13 @@
{{ block "hero-more" . }}{{ end }}
</div>
</section>
{{ block "post-hero" . }}{{ end }}
{{ block "post-hero" . }}
{{ block "deprecated" . }}
{{ if .IsHome }}
{{ partial "deprecation-warning.html" . }}
{{ end }}
{{ end }}
{{ end }}
{{ end }}
<main>
<article class="page-content">