up paths scripts

This commit is contained in:
Tykayn 2024-11-04 23:57:13 +01:00 committed by tykayn
parent eb52ac23a9
commit 099e59aba2
3 changed files with 11 additions and 9 deletions

View File

@ -109,7 +109,9 @@ generate_website() {
mv "index_$website_name.html" "html-websites/$website_name/index.html" mv "index_$website_name.html" "html-websites/$website_name/index.html"
mv "index_$website_name.gmi" "gemini-capsules/$website_name/index.gmi" mv "index_$website_name.gmi" "gemini-capsules/$website_name/index.gmi"
python3 enrich_html.py html-websites/dragonfeu_blog -t $website_name --style style_general.css python3 enrich_html.py html-websites/$website_name -t $website_name --style templates/style_general.css
python3 enrich_html.py html-websites/$website_name/lang_fr -t $website_name --style templates/style_general.css
python3 enrich_html.py html-websites/$website_name/lang_en -t $website_name --style templates/style_general.css
# python3 enrich_html.py html-websites/dragonfeu_blog/lang_fr -t $website_name --style style_general.css # python3 enrich_html.py html-websites/dragonfeu_blog/lang_fr -t $website_name --style style_general.css
# python3 enrich_html.py html-websites/dragonfeu_blog/lang_en -t $website_name --style style_general.css # python3 enrich_html.py html-websites/dragonfeu_blog/lang_en -t $website_name --style style_general.css

View File

@ -1,23 +1,23 @@
#!/bin/bash #!/bin/bash
# export: # export:
# format gemini # format gemini
pandoc --template template_gemini.lua -f html -t gmi.lua -o 2024-08-l-aventure-superphenix.gmi html/Laventure\ Superphénix🔥.\ Superphénix…\ sil\ est\ un\ réacteur…\ _\ by\ Dragonfeu\ _\ Medium.html pandoc --template templates/template_gemini.lua -f html -t templates/gmi.lua -o 2024-08-l-aventure-superphenix.gmi html/Laventure\ Superphénix🔥.\ Superphénix…\ sil\ est\ un\ réacteur…\ _\ by\ Dragonfeu\ _\ Medium.html
pandoc --template template_gemini.lua -f html -t gmi.lua -o 2024-03-recapitulatif-de-mon-contenu-twitter.gmi html/Récapitulatif\ de\ mon\ contenu\ twitter\ -\ Dragonfeu\ -\ Medium.html pandoc --template templates/template_gemini.lua -f html -t templates/gmi.lua -o 2024-03-recapitulatif-de-mon-contenu-twitter.gmi html/Récapitulatif\ de\ mon\ contenu\ twitter\ -\ Dragonfeu\ -\ Medium.html
pandoc --template template_gemini.lua -f html -t gmi.lua -o 2024-02-strategie-mitigation-accident-nucleaire.gmi html/Stratégie\ de\ mitigation\ de\ laccident\ de\ fusion\ du\ cœur\ sur\ lEPR.\ _\ by\ Dragonfeu\ _\ Sep,\ 2024\ _\ Medium.html pandoc --template templates/template_gemini.lua -f html -t templates/gmi.lua -o 2024-02-strategie-mitigation-accident-nucleaire.gmi html/Stratégie\ de\ mitigation\ de\ laccident\ de\ fusion\ du\ cœur\ sur\ lEPR.\ _\ by\ Dragonfeu\ _\ Sep,\ 2024\ _\ Medium.html
pandoc --template template_gemini.lua -f html -t gmi.lua -o 2024-01-recapitulatif-centrale-nucleaire-zaporijia.gmi html/Point\ de\ situation\ sur\ la\ centrale\ nucléaire\ de\ Zaporijia\ _\ by\ Dragonfeu\ _\ Medium.html pandoc --template templates/template_gemini.lua -f html -t templates/gmi.lua -o 2024-01-recapitulatif-centrale-nucleaire-zaporijia.gmi html/Point\ de\ situation\ sur\ la\ centrale\ nucléaire\ de\ Zaporijia\ _\ by\ Dragonfeu\ _\ Medium.html
# format markdown # format markdown
pandoc --template template_gemini.lua -f html -t markdown -o 2024-08-l-aventure-superphenix.md html/Laventure\ Superphénix🔥.\ Superphénix…\ sil\ est\ un\ réacteur…\ _\ by\ Dragonfeu\ _\ Medium.html pandoc --template templates/template_gemini.lua -f html -t markdown -o 2024-08-l-aventure-superphenix.md html/Laventure\ Superphénix🔥.\ Superphénix…\ sil\ est\ un\ réacteur…\ _\ by\ Dragonfeu\ _\ Medium.html
pandoc --template template_gemini.lua -f html -t markdown -o 2024-03-recapitulatif-de-mon-contenu-twitter.md html/Récapitulatif\ de\ mon\ contenu\ twitter\ -\ Dragonfeu\ -\ Medium.html pandoc --template templates/template_gemini.lua -f html -t markdown -o 2024-03-recapitulatif-de-mon-contenu-twitter.md html/Récapitulatif\ de\ mon\ contenu\ twitter\ -\ Dragonfeu\ -\ Medium.html
pandoc --template template_gemini.lua -f html -t markdown -o 2024-02-strategie-mitigation-accident-nucleaire.md html/Stratégie\ de\ mitigation\ de\ laccident\ de\ fusion\ du\ cœur\ sur\ lEPR.\ _\ by\ Dragonfeu\ _\ Sep,\ 2024\ _\ Medium.html pandoc --template templates/template_gemini.lua -f html -t markdown -o 2024-02-strategie-mitigation-accident-nucleaire.md html/Stratégie\ de\ mitigation\ de\ laccident\ de\ fusion\ du\ cœur\ sur\ lEPR.\ _\ by\ Dragonfeu\ _\ Sep,\ 2024\ _\ Medium.html
pandoc --template template_gemini.lua -f html -t markdown -o 2024-01-recapitulatif-centrale-nucleaire-zaporijia.md html/Point\ de\ situation\ sur\ la\ centrale\ nucléaire\ de\ Zaporijia\ _\ by\ Dragonfeu\ _\ Medium.html pandoc --template templates/template_gemini.lua -f html -t markdown -o 2024-01-recapitulatif-centrale-nucleaire-zaporijia.md html/Point\ de\ situation\ sur\ la\ centrale\ nucléaire\ de\ Zaporijia\ _\ by\ Dragonfeu\ _\ Medium.html