is_weekday Modifier

Returns true if date is a weekday.

date: December 25 2015
{{ if date | is_weekday }}
@if (Statamic::modify($date)->isWeekday()->fetch()) ... @endif
true
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →