Modifier: ascii


Replaces all non-ASCII characters with their closest ASCII counterparts and removes any unsupported characters completely. This is very useful for converting foreign language strings into something more code-friendly.

title: lemoƱade
{{ title | ascii }}
lemonade

Additional Reading

Learn how to use and chain modifiers in the Antlers template guide.

Last modified on March 31, 2016