# Plugin – lektor-slugify 0.4

Lektor plugin that adds a slugify Jinja filter.

#### Project links

#### GitHub Statistics

#### Meta

Version: 0.4

Author: Terminal Labs, Michael Verhulst, Joseph Nix

#### Tags

Jinja filters, python-slugify, setup-env, and slugify

View all tags.

## Project Description

# lektor-slugify

This is a Lektor plugin that provides a simple template filter that transforms a (unicode) string into a slug.

Usage: `{{ var|slug }}`

Advanced usage: The `|slug` filter can also accept keyword arguements that are passed to python-slugify. That means you have the option of doing, for example, `{{ var|slug(lowercase=False) }}` to preserve case sensitivity.

This is a simple use of the Python package python-slugify.

## Comments