Modifier: is_yesterday


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

date: July 14 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