Slugify method (text)
Converts to this text to a human-readable slug.
Syntax
text.Slugify
Returns text as lower case, removes non-word characters, removes leading and trailing white-space and converts spaces to hyphens.
Example
{% Var text = 'John's cycle' %}
{{ text.Slugify }}
The above example would output: johns-cycle
.