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.
Release files for lektor-slugify 0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| lektor-slugify-0.4.tar.gz | 1.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lektor_slugify-0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.9 kB
Release files / lektor-slugify-0.4.tar.gz
| Download URL | lektor-slugify-0.4.tar.gz |
|---|---|
| Size | 1.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
01f3cd83880755471bc0a4bdda6f107b9652f2ead2490fc4cac62b7ee8a33448
|
|
BLAKE2b-256 checksum How to use checksums |
19328349adaf8a34f358727974744a535c5d305cfa7947cef0f7c7d1743c025d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
|
Release files / lektor_slugify-0.4-py3-none-any.whl
| Download URL | lektor_slugify-0.4-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
df075b644f0744a583d84d9ea25b3b29bb86e3368350011a564150d59380f928
|
|
BLAKE2b-256 checksum How to use checksums |
4cb3dce142ce80ef5c3a34fa7bf15de11546a1abdd984cc63f9e6d5cf058bda1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
|