Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

This course is the most refreshing take on teaching design that I've come across.

— Mikaël Sévigny, Developer

safe_truncate Modifier

Truncates the string to a given length (parameter 1), while ensuring that
it does not split words. You can append a string with parameter 2, and if truncating occurs the string is further truncated so that it may be appended without exceeding the desired length.

advice: >
So, here’s some advice I wish I woulda got when I was your age:
Live every week like it’s Shark Week.
{{ advice | safe_truncate(90, '...') }}
So, here’s some advice I wish I woulda got when I was your age:
Live every week like...
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →