mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
More granular control of tags and categories slugs. Fixes #1873
- add TAG_SUBSTITUTIONS AND CATEGORY_SUBSTITURIONS settings - make slugify keep non-alphanumeric characters if configured
This commit is contained in:
parent
70665ea0fa
commit
648165b839
8 changed files with 123 additions and 8 deletions
|
|
@ -4,7 +4,14 @@ Release history
|
|||
Next release
|
||||
============
|
||||
|
||||
- Nothing yet
|
||||
* ``SLUG_SUBSTITUTIONS`` now accepts 3-tuple elements, allowing to keep
|
||||
non-alphanum characters. Existing 2-tuple configurations will continue to work
|
||||
without change in behavior. The new 3rd parameter has side effects when there
|
||||
are multiple substitutions defined. Plese see the docs.
|
||||
* Tag and category slugs can be controlled with greater precision using the
|
||||
``TAG_SUBSTITUTIONS`` and ``CATEGORY_SUBSTITUTIONS`` settings. These also
|
||||
allow for keeping non-alphanum characters for backward compatibility with
|
||||
existing URLs.
|
||||
|
||||
3.6.3 (2015-08-14)
|
||||
==================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue