From a2fedfc6150fe3a44889c05cce7b1b31c3fa188e Mon Sep 17 00:00:00 2001 From: Chris Frederick Date: Sun, 7 Sep 2014 17:01:53 +0900 Subject: [PATCH] Document the slugify Liquid filter --- site/_docs/templates.md | 11 +++++++++++ 1 file changed, 11 insertions(+) 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