to_name
Map a string to a name. That is a lowercased string with only [a-z0-9_] characters.
Example:
{{ "Hello World!"|to_name }}Results in the string value hello_world.
Map a string to a name. That is a lowercased string with only [a-z0-9_] characters.
Example:
{{ "Hello World!"|to_name }}Results in the string value hello_world.
Filters transform template variables before they are rendered.