diff --git a/atom_generate.py b/atom_generate.py
index 7194c69d..5f7364a8 100755
--- a/atom_generate.py
+++ b/atom_generate.py
@@ -90,3 +90,5 @@ with open(f"index_{args.blog_dir}.xml", "w", encoding="utf-8") as f:
f.write(f'
{article_name}"
@@ -121,7 +124,7 @@ def generer_index(dossier_source, fichier_index):
print(' ')
with open(chemin_fichier_index_html, 'w', encoding='utf-8') as file:
print('contenu_index_html', contenu_index_html)
- contenu_index_html = enrich_one_file(contenu_index_html)
+ # contenu_index_html = enrich_one_file(contenu_index_html)
file.write(contenu_index_html)
print(f" ------------ build_indexes: Fichier d'index '{chemin_fichier_index_html}' généré avec succès.")
diff --git a/converters.sh b/converters.sh
index 55db0934..3a5bdad6 100755
--- a/converters.sh
+++ b/converters.sh
@@ -208,12 +208,14 @@ for website_name in "${blogs_folders[@]}"; do
python3 build_indexes.py $website_name
# créer les pages de tags
+ mkdir -p "html-websites/$website_name/tags"
+ mkdir -p "html-websites/$website_name/tag"
python3 gather_tags_in_json.py $website_name
# déplacer les fichiers générés en html dans le dossier statique
mv sources/$website_name/converted/*.html html-websites/$website_name/
- python3 enrich_html.py html-websites/$website_name --style $style_file
+ python3 enrich_html.py $website_name --style $style_file
# copier le style dans le dossier html
cp $style_file html-websites/$website_name/style.css
@@ -222,8 +224,9 @@ for website_name in "${blogs_folders[@]}"; do
# traiter les réductions d'images dans l'inbox
python3 pictures_resize.py
+
+ # régénérer le flux Atom du blog
mkdir -p "html-websites/$website_name/feed"
python3 atom_generate.py $website_name
- mv "index_$website_name.xml" "html-websites/$website_name/feed/index.xml"
done
diff --git a/enrich_html.py b/enrich_html.py
index 56393cd8..48113264 100755
--- a/enrich_html.py
+++ b/enrich_html.py
@@ -90,7 +90,7 @@ def enrich_one_file(html_content: str, partials: dict = {"header_page": "", "foo