11tyThe possum is Eleventy’s mascot

Eleventy Documentation

Menu

slug Universal Filter #

Uses the slugify npm package to convert a string into a URL slug. Can be used in pagination or permalinks.

{{ "My Title" | slug }} -> `my-title`