switch to newer slugifier
This commit is contained in:
parent
b517e726cb
commit
cc07869989
@ -1,4 +1,4 @@
|
||||
pymysql
|
||||
peewee
|
||||
unicode-slugify
|
||||
python-slugify[unidecode]
|
||||
pyyaml
|
||||
|
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user