fix sections filenames

This commit is contained in:
Guilhem Fauré 2023-05-24 12:09:04 +02:00
parent 31fadce8c5
commit 0568f54f29

View File

@ -146,7 +146,7 @@ class Rubrique(SpipRubriques):
return slugify((self.date + "-" if date else "") + self.titre)
def filename(self) -> str:
return "index" + "." + self.lang + "." + EXPORTTYPE
return "_index" + "." + self.lang + "." + EXPORTTYPE
def frontmatter(self) -> str:
return dump(