Modifier: is_past


Returns true if date is in the past.

date: October 21 2015
another_date: November 2019
{{ if date | is_past }}
{{ if another_date | is_past }}
true
false

Additional Reading

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

Last modified on March 31, 2016