Modifier: is_yesterday


Returns true if date is yesterday - using the server’s time.

date: March 31 2020

{{ if date | is_yesterday }}

true

Additional Reading

Learn how to use and chain modifiers in the Antlers template guide.

Last modified on March 31, 2016