Awee

slug

Slug converts a string to a URL-friendly slug.

Slug converts a string to a URL-friendly slug. Lowercases, replaces spaces with hyphens, and removes non-alphanumeric characters.

Input

string

Parameters

None

Returns

string

Examples

{{ title | slug }}
{{ "Hello World!" | slug }}

How is this guide?

On this page