dasherize

Description

Replace underscores and spaces with dashes in the string.

Syntax

{{ <string> | dasherize }}

Example

{{ 'hello_world' | dasherize }}

displays

hello-world
© 2024 LocomotiveCMS Terms of use Privacy Policy
Back to top