fix links for next and previous articles

This commit is contained in:
Tykayn 2025-02-20 16:30:08 +01:00 committed by tykayn
parent 072eafc751
commit b1c8937fc9
9 changed files with 69 additions and 52 deletions

View file

@ -138,7 +138,7 @@ generate_website() {
ls -l "$root_folder/sources/$website_name/converted"
bash concat_list_billets.sh $website_name
# bash concat_list_billets.sh $website_name
}
@ -217,8 +217,8 @@ for website_name in "${blogs_folders[@]}"; do
# 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
python3 linking_articles_prev_next.py $website_name
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/