Modifier: is_yesterday

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

date: {{ now modify_date="-1 day" format="F j Y" }}

{{ noparse }}

{{ if date | is_yesterday }}

{{ /noparse }}

true
Betterify this page on Github!