{{ 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>
  </div>
</section>
{{ end }}
