mirror of
https://forge.chapril.org/tykayn/orgmode-to-gemini-blog
synced 2025-06-20 09:04:42 +02:00
style sass
This commit is contained in:
parent
f016f842c9
commit
8c45ae05f9
24 changed files with 803 additions and 647 deletions
|
@ -215,14 +215,12 @@ def generer_index(dossier_source, fichier_index, titre_index):
|
|||
os.makedirs(os.path.dirname(new_folder_path_this_article), exist_ok=True)
|
||||
# déplacer le fichier html dans le dossier slug, et le renommer en index.html ensuite pour ne pas modifier l'index du blog
|
||||
shutil.copy(chemin_fichier_this_article, new_folder_path_this_article+'index.html')
|
||||
|
||||
# ---------------- pareil en anglais TODO
|
||||
# contenu_index_gmi += "\n# Articles in English\n-------------------------\n"
|
||||
# contenu_index_html += "<h1>Articles in English</h1>"
|
||||
# lang_folder="lang_en/"
|
||||
# for fichier in files_en:
|
||||
# contenu_index_gmi += f"=> {fichier}\n"
|
||||
# link_html = fichier.replace('..gmi','.html')
|
||||
# contenu_index_html += f"<br><a href=/{lang_folder}{link_html}>{link_html}</a>"
|
||||
# ----------------------------------------
|
||||
|
||||
print(contenu_index_gmi)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue