Modifier: is_yesterday
Returns true
if date is yesterday - using the server’s time.
date: December 20 2024
{{ if date | is_yesterday }}
true
Additional Reading
Learn how to use and chain modifiers in the Antlers template guide.