Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

For a software dev like me who has no idea how to create a cute hand-drawn dashed line, this course just 100% works.

— Ira Zayats, Developer

is_before Modifier

Returns true if a date variable is before another date. That second date can be the name of another variable or a literal date string.

start_date: January 17 2015
end_date: December 1 2015
{{ if end_date | is_before($start_date) }}
{{ if start_date | is_before(2014) }}
{{ if start_date | is_before($end_date) }}
false
false
true
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →