Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

Just exceptional. Thank you so much, Jack, you smashed it.

— Hugo, Developer

contains_all Modifier

Search a string against multiple needles and return true if all are found, otherwise false. Case-insensitive.

summary: "It was the best of times, it was the worst of times."
{{ if summary | contains_all('best', 'worst') }}
{{ if summary | contains_all('best', 'better') }}
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →