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

collapse_whitespace Modifier

Trims a string and replaces consecutive whitespace characters with
a single space. This includes tabs and newline characters, as well as
multibyte whitespace such as the thin space and ideographic space.

title: Bad at typing
{{ title | collapse_whitespace }}
Bad at typing
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →