Description
Replace underscores and spaces with dashes in the string.
Syntax
{{ <string> | dasherize }}
Example
{{ 'hello_world' | dasherize }}
displays
hello-world
Replace underscores and spaces with dashes in the string.
{{ <string> | dasherize }}
{{ 'hello_world' | dasherize }}
displays
hello-world