Allow marking some blog posts as evergreen and exempt from outdated warning
This commit is contained in:
@@ -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">
|
||||
<h3>{{ T "outdated_blog__title" }}</h3>
|
||||
|
||||
Reference in New Issue
Block a user