orgmode-to-gemini-blog/website_config.py

159 lines
7.1 KiB
Python
Raw Permalink Normal View History

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-20 00:24:09 +01:00
"automatic_tagging_enabled": 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",
2024-11-20 00:24:09 +01:00
"excluded_tags": ['PROPERTIES', 'CREATED', 'ID', 'END','CUSTOM_ID'],
2024-11-15 15:56:11 +01:00
# controlled vocabulary to find tags automatically
2024-11-16 00:21:38 +01:00
"auto_tag_terms": ["illustration", "tuto", "nsfw", "bd", "récit", "science",
2024-11-20 00:24:09 +01:00
"wtf", "yaoi", "yuri", "sondage", "entreprise", "AI", "photos",
2024-11-18 13:10:30 +01:00
"cosplay", "festival", "fanzine", "manif", "logiciel", "inktober",
"kotlife", "féminisme", "fantasme", "art", "sociologie", "couple", "masturbation",
2024-11-18 16:01:34 +01:00
"boobs", "sortirDesFossiles", "électrique", "maison", "GTD", "chat", "PIM","mastoart",
"openstreetmap", "sauvegarde", "mastodon", "voyages", "aber","atelier cocci","vidéos",
"wanda","bouffe","anniversaire","conventions","Japan Expo","3.0","cours","! Q","dessin","mariage",
"réutilisation","sketch","road trip","kot","vélo","Bruxelles","Dieppe"]
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="/ressources-de-café-vie-privée">Ressources</a>
<a href="/tags">Tags</a>
<a href="/contact">Contact</a>
2024-11-12 00:55:21 +01:00
</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="/tags">Tags</a>
2024-11-12 00:55:21 +01:00
<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
},
2024-11-18 13:10:30 +01:00
"cil_gometz": {
"DOSSIER_SOURCE": "tykayn_blog",
"NDD_GEMINI": "gemini.cil-gometz.org",
"BANNIERE_ENTETE": "",
"BLOG_TITLE": "Cil gometz",
"BLOG_SUBTITLE": "Cil gometz",
"TITLE": "",
"AUTHOR": "Cil gometz",
"PAGE_TITLE": "Cil gometz",
"LOCALE": "fr_FR", # la langue principale
"DESCRIPTION": "Cil gometz",
"NDD": "https://cil-gometz.org",
"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="/feed">Flux RSS</a>
<a href="/tags">Tags</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",
},
"qzine_blog": {
"DOSSIER_SOURCE": "qzine_blog",
"NDD_GEMINI": "source.qzine.fr",
"BANNIERE_ENTETE": "",
"BLOG_TITLE": "!Qzine",
"BLOG_SUBTITLE": "La culture avec un grand !Q",
"TITLE": "",
"AUTHOR": "Tykayn",
"PAGE_TITLE": "Qzine",
"LOCALE": "fr_FR", # la langue principale
"DESCRIPTION": "Illustrations, articles de sociologie et récits autour des vies sexuelles contemporaines",
"NDD": "https://qzine.fr",
"EMAIL": "contact@qzine.fr",
"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://cloud.tykayn.fr/index.php/s/dessins_partage_blog">Sources des illustrations</a>
<a href="/tags">Tags</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",
},
"helia_blog": {
"DOSSIER_SOURCE": "helia_blog",
"NDD_GEMINI": "source.helia.tykayn.fr",
"BANNIERE_ENTETE": "",
"BLOG_TITLE": "Hélia Blog",
"BLOG_SUBTITLE": "Yaya blog, les prémices parentales, puis sa vie et son oeuvre.",
"TITLE": "",
"AUTHOR": "Tykayn & Claire",
"PAGE_TITLE": "Hélia Blog",
"LOCALE": "fr_FR", # la langue principale
"DESCRIPTION": "Textes et photos",
"NDD": "https://helia.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="/feed">Flux RSS</a>
<a href="/tags">Tags</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",
},
2024-11-12 00:55:21 +01:00
}