orgmode-to-gemini-blog/website_config.py
2024-11-15 15:56:11 +01:00

70 lines
3.0 KiB
Python

#!/usr/bin/python3
# configuration pour générer les sites web de plusieurs dossiers
global_config = {
"slug_with_year": True,
# "show_logs": False,
"show_logs": True,
"rebuild_files_filter": 2024,
"source_files_extension": "org",
# controlled vocabulary to find tags automatically
"auto_tag_terms": ["illustration", "tuto", "nsfw", "bd", "récit", "science"]
}
configs_sites = {
"cipherbliss_blog": {
"DOSSIER_SOURCE": "cipherbliss_blog",
"NDD_GEMINI": "source.cipherbliss.com",
"BANNIERE_ENTETE": "",
"BLOG_TITLE": "Cipher Bliss",
"BLOG_SUBTITLE": "Code, nouvelles technologies et entrepreneurariat par B. Lemoine",
"TITLE": "",
"AUTHOR": "Baptiste Lemoine",
"PAGE_TITLE": "",
"LOCALE": "fr_FR", # la langue principale
"DESCRIPTION": "Code, nouvelles technologies et entrepreneurariat par B. Lemoine depuis 2014",
"NDD": "https://www.cipherbliss.com",
"EMAIL": "contact@cipherbliss.com",
"SITE_ICON": "https://www.cipherbliss.com/wp-content/uploads/2016/12/rond.png",
"SITE_ICON_TYPE": "image/png",
"NAVIGATION": """
<nav>
<a href="/">Accueil</a>
<a href="https://portfolio.cipherbliss.com">Portfolio</a>
<a href="/feed">Flux RSS</a>
<a href="/contact">Contact</a>
<a href="/ressources-de-café-vie-privée">Ressources</a>
</nav>
""",
"BANNIERE_ENTETE": "https://www.cipherbliss.com/wp-content/uploads/2016/11/bg.jpg",
"BANNIERE_ENTETE_ALT": "Bannière du site",
},
"tykayn_blog": {
"DOSSIER_SOURCE": "tykayn_blog",
"NDD_GEMINI": "source.tykayn.fr",
"BANNIERE_ENTETE": "",
"BLOG_TITLE": "Tykayn Blog",
"BLOG_SUBTITLE": "Le vortex à chats - Illustrations, trucs en tout genre par Tykayn",
"TITLE": "",
"AUTHOR": "Tykayn",
"PAGE_TITLE": "Baptiste Lemoine",
"LOCALE": "fr_FR", # la langue principale
"DESCRIPTION": "Illustrations, trucs en tout genre par Tykayn",
"NDD": "https://tykayn.fr",
"EMAIL": "contact@cipherbliss.com",
"SITE_ICON": "https://mastodon.cipherbliss.com/system/accounts/avatars/000/000/001/original/6388tykayn.gif",
"SITE_ICON_TYPE": "image/png",
"NAVIGATION": """
<nav>
<a href="/">Accueil</a>
<a href="https://portfolio.cipherbliss.com">Portfolio</a>
<a href="https://qzine.fr">Qzine</a>
<a href="https://www.cipherbliss.com">Cipherbliss</a>
<a href="/feed">Flux RSS</a>
<a href="https://cloud.tykayn.fr/index.php/s/dessins_partage_blog">Sources des illustrations</a>
<a href="/contact">Contact</a>
</nav>
""",
"BANNIERE_ENTETE": "https://tykayn.fr/wp-content/themes/toivo-lite/images/header.jpg",
"BANNIERE_ENTETE_ALT": "Bannière du site",
},
}