diff --git a/site/_docs/templates.md b/site/_docs/templates.md index 5ace04fc..84655db8 100644 --- a/site/_docs/templates.md +++ b/site/_docs/templates.md @@ -211,6 +211,17 @@ common tasks easier.
+Slugify
+Convert a string into a lowercase URL "slug" by replacing every sequence of spaces and non-alphanumeric characters with a hyphen.
+
+ {% raw %}{{ page.title | slugify }}{% endraw %}
+
Data To JSON