Modifier: mailto


Generate a mailto link element with the value as the email address. If it’s not an email address, it’s going to be one busted link.

holler: holler@example.com
{{ holler | mailto }}
<a href="mailto:holler@example.com">holler@example.com</a>

Additional Reading

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

Last modified on March 31, 2016