Merge pull request #2731 from avaris/unicode-slugify

Add support for Unicode slugs
This commit is contained in:
Justin Mayer 2020-04-21 05:31:51 +02:00 committed by GitHub
commit 7e24886190
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 141 additions and 40 deletions

View file

@ -155,6 +155,8 @@ DEFAULT_CONFIG = {
],
'INTRASITE_LINK_REGEX': '[{|](?P<what>.*?)[|}]',
'SLUGIFY_SOURCE': 'title',
'SLUGIFY_USE_UNICODE': False,
'SLUGIFY_PRESERVE_CASE': False,
'CACHE_CONTENT': False,
'CONTENT_CACHING_LAYER': 'reader',
'CACHE_PATH': 'cache',