Merge pull request #31934 from liggitt/evergreen

Allow marking blog posts as evergreen and exempt from outdated warning
This commit is contained in:
Kubernetes Prow Robot
2022-02-27 16:25:18 -08:00
committed by GitHub
10 changed files with 19 additions and 6 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
</p>
</div>
</section>
{{ else if and (eq .Section "blog") .Date (.Date.Before (now.AddDate -1 0 0)) -}}
{{ else if and (eq .Section "blog") (not .Params.evergreen) .Date (.Date.Before (now.AddDate -1 0 0)) -}}
<section id="deprecation-warning">
<div class="content deprecation-warning pageinfo outdated-blog">
<p>{{ T "outdated_blog__message" }}</p>