up atom feed generate

This commit is contained in:
Tykayn 2024-11-18 11:18:50 +01:00 committed by tykayn
parent bff1ec1392
commit 791d93ecde
8 changed files with 69 additions and 25 deletions

View file

@ -66,7 +66,7 @@ def generer_index(dossier_source, fichier_index):
article_name = trouver_nom_article(file_path_org, args.source, 'org')
basename_file = os.path.basename(file_path_org)
article_relative_url = detect_slug_in_file_basename(basename_file)
article_relative_url = find_slug_in_file_basename(basename_file)
if not article_name:
article_name = article_relative_url.replace('-', ' ')