switch to newer slugifier

This commit is contained in:
Guilhem Fauré 2023-04-24 14:36:20 +02:00
parent b517e726cb
commit cc07869989
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
pymysql
peewee
unicode-slugify
python-slugify[unidecode]
pyyaml

View File

@ -32,7 +32,7 @@ class metadata:
self.microblog = article.microblog # Probably unused
def get_slug(self):
return slugify(f"{self.id}-{self.title}", only_ascii=True)
return slugify(f"{self.id}-{self.title}")
def get_frontmatter(self):
return "---\n{}---".format(