2024-11-12 00:55:21 +01:00
|
|
|
#!/usr/bin/python3
|
|
|
|
# configuration pour générer les sites web de plusieurs dossiers
|
2024-11-14 13:32:56 +01:00
|
|
|
global_config = {
|
|
|
|
"slug_with_year": True,
|
2024-11-15 15:56:11 +01:00
|
|
|
# "show_logs": False,
|
|
|
|
"show_logs": True,
|
2024-11-14 16:22:34 +01:00
|
|
|
"rebuild_files_filter": 2024,
|
2024-11-15 15:56:11 +01:00
|
|
|
"source_files_extension": "org",
|
|
|
|
# controlled vocabulary to find tags automatically
|
|
|
|
"auto_tag_terms": ["illustration", "tuto", "nsfw", "bd", "récit", "science"]
|
2024-11-14 13:32:56 +01:00
|
|
|
}
|
2024-11-12 00:55:21 +01:00
|
|
|
configs_sites = {
|
|
|
|
"cipherbliss_blog": {
|
2024-11-15 15:56:11 +01:00
|
|
|
"DOSSIER_SOURCE": "cipherbliss_blog",
|
2024-11-12 00:55:21 +01:00
|
|
|
"NDD_GEMINI": "source.cipherbliss.com",
|
2024-11-15 15:56:11 +01:00
|
|
|
"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": """
|
2024-11-12 00:55:21 +01:00
|
|
|
<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>
|
|
|
|
""",
|
2024-11-15 15:56:11 +01:00
|
|
|
"BANNIERE_ENTETE": "https://www.cipherbliss.com/wp-content/uploads/2016/11/bg.jpg",
|
|
|
|
"BANNIERE_ENTETE_ALT": "Bannière du site",
|
2024-11-12 00:55:21 +01:00
|
|
|
},
|
|
|
|
"tykayn_blog": {
|
2024-11-15 15:56:11 +01:00
|
|
|
"DOSSIER_SOURCE": "tykayn_blog",
|
2024-11-12 00:55:21 +01:00
|
|
|
"NDD_GEMINI": "source.tykayn.fr",
|
2024-11-15 15:56:11 +01:00
|
|
|
"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": """
|
2024-11-12 00:55:21 +01:00
|
|
|
<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>
|
|
|
|
""",
|
2024-11-15 15:56:11 +01:00
|
|
|
"BANNIERE_ENTETE": "https://tykayn.fr/wp-content/themes/toivo-lite/images/header.jpg",
|
|
|
|
"BANNIERE_ENTETE_ALT": "Bannière du site",
|
2024-11-12 00:55:21 +01:00
|
|
|
},
|
|
|
|
}
|