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_empty Modifier

Checks to see if an array is empty without any set values. Works with numeric indexes, associative, and string keyed arrays of all depths. It's pretty smart, as these things go.

some_data:
- is living here
more_data:
with:
hopes:
and:
dreams:
-
{{ if some_data | is_empty }}
{{ if more_data | is_empty }}
false
true
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →