From 099e59aba29aaf90f277c644e41e291d11d5de80 Mon Sep 17 00:00:00 2001 From: Tykayn Date: Mon, 4 Nov 2024 23:57:13 +0100 Subject: [PATCH] up paths scripts --- converters.sh | 4 +++- export_html_dragonfeu_blog.sh | 16 ++++++++-------- style_general.css => templates/style_general.css | 0 3 files changed, 11 insertions(+), 9 deletions(-) rename style_general.css => templates/style_general.css (100%) diff --git a/converters.sh b/converters.sh index 2e565c62..c3da5e56 100755 --- a/converters.sh +++ b/converters.sh @@ -109,7 +109,9 @@ generate_website() { mv "index_$website_name.html" "html-websites/$website_name/index.html" 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_en -t $website_name --style style_general.css diff --git a/export_html_dragonfeu_blog.sh b/export_html_dragonfeu_blog.sh index 4c98a04d..86b36fa6 100644 --- a/export_html_dragonfeu_blog.sh +++ b/export_html_dragonfeu_blog.sh @@ -1,23 +1,23 @@ #!/bin/bash # export: # format gemini -pandoc --template template_gemini.lua -f html -t gmi.lua -o 2024-08-l-aventure-superphenix.gmi html/L’aventure\ Superphénix🔥.\ Superphénix…\ s’il\ 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/L’aventure\ Superphénix🔥.\ Superphénix…\ s’il\ 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\ l’accident\ de\ fusion\ du\ cœur\ sur\ l’EPR.\ _\ 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\ l’accident\ de\ fusion\ du\ cœur\ sur\ l’EPR.\ _\ 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 -pandoc --template template_gemini.lua -f html -t markdown -o 2024-08-l-aventure-superphenix.md html/L’aventure\ Superphénix🔥.\ Superphénix…\ s’il\ 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/L’aventure\ Superphénix🔥.\ Superphénix…\ s’il\ 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\ l’accident\ de\ fusion\ du\ cœur\ sur\ l’EPR.\ _\ 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\ l’accident\ de\ fusion\ du\ cœur\ sur\ l’EPR.\ _\ 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 diff --git a/style_general.css b/templates/style_general.css similarity index 100% rename from style_general.css rename to templates/style_general.css