Modifier: dashify


Returns a lowercase and trimmed string separated by dashes. Dashes are inserted before uppercase characters (with the exception of the first character of the string), and in place of spaces as well as underscores.

title: Just Because I Can
{{ title | dashify }}
just-because-i-can

Additional Reading

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

Last modified on August 13, 2018