mirror of
https://forge.chapril.org/tykayn/orgmode-to-gemini-blog
synced 2025-06-20 09:04:42 +02:00
add series
This commit is contained in:
parent
630ff2da42
commit
3fea367e9a
11 changed files with 185 additions and 123 deletions
|
@ -1,31 +1,8 @@
|
|||
#!/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,
|
||||
"lang_default": "fr",
|
||||
"automatic_tagging_enabled": True,
|
||||
"automatic_tagging_org_files": True,
|
||||
"rebuild_files_filter": 2024,
|
||||
"posts_per_page": 10,
|
||||
"source_files_extension": "org",
|
||||
"excluded_tags": ['PROPERTIES', 'CREATED', 'ID', 'END','CUSTOM_ID','CLASS'],
|
||||
# controlled vocabulary to find tags automatically
|
||||
"auto_tag_terms": ["illustration", "tuto", "NSFW", "BD", "récit", "science",
|
||||
"wtf", "yaoi", "yuri", "sondage", "entreprise", "AI", "photos",
|
||||
"cosplay", "festival", "fanzine", "manif", "logiciel", "inktober",
|
||||
"kotlife", "féminisme", "fantasme", "art", "sociologie", "couple", "masturbation",
|
||||
"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"]
|
||||
}
|
||||
|
||||
|
||||
|
||||
configs_sites = {
|
||||
"other_blog" : {
|
||||
configs_sites = { "other_blog" : {
|
||||
"DOSSIER_SOURCE": "helia_blog",
|
||||
"NDD_GEMINI": "social.cipherbliss.com",
|
||||
"BANNIERE_ENTETE": "",
|
||||
|
@ -87,6 +64,35 @@ Si vous aimez ce que nous faisons à Cipher Bliss, vous pouvez nous soutenir de
|
|||
""",
|
||||
"BANNIERE_ENTETE": "https://www.cipherbliss.com/wp-content/uploads/2016/11/bg.jpg",
|
||||
"BANNIERE_ENTETE_ALT": "Bannière du site",
|
||||
"SERIES": {
|
||||
"workflows": {
|
||||
"title": "Workflows",
|
||||
"articles": [
|
||||
"choix-doutil-pour-la-gestion-de-projets",
|
||||
"lister-tous-ses-dossiers-photos-avec-nodejs",
|
||||
"organiser-ses-fichiers-avec-des-tags-avec-filetags",
|
||||
"comment-jai-quitte-facebook-et-google",
|
||||
]
|
||||
},
|
||||
"backups": {
|
||||
"title": "Backups et pérennité",
|
||||
"articles": [
|
||||
"2021/bus-factor",
|
||||
"2021/plan-darchivage-et-de-backup",
|
||||
"2021/des-sauvegardes-qui-durent-mille-ans",
|
||||
"2025/critères-de-qualité-de-votre-plan-de-sauvegarde",
|
||||
]
|
||||
},
|
||||
"elles-font-le-libre": {
|
||||
"title": "Elles font le libre",
|
||||
"articles": [
|
||||
"2024/teaser-des-interviews-elles-font-le-libre",
|
||||
"2024/elles-font-le-libre-julie-de-letabli-numerique"
|
||||
"2024/julia-de-l'ign-elles-font-le-libre-sotmfr-2024",
|
||||
"2024/julie-de-la-fabrique-des-mobilités-elles-font-le-libre",
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"tykayn_blog": {
|
||||
"SOURCE": "https://forge.chapril.org/tykayn/orgmode-to-gemini-blog/src/branch/main/sources/tykayn_blog",
|
||||
|
@ -265,6 +271,29 @@ default_config = {
|
|||
"WEBSITE_GENERATOR_DESCRIPTION": f"Site généré avec le générateur de site web pour Gemini par Tykayn \n=> {forge_source} Code source, licence AGPLv3+",
|
||||
"SOUTIEN": "Si vous aimez ce que nous faisons, soutenez nous et partagez nos écrits. Vous pouvez nous faire un don sur <a href='https://liberapay.com/cipherbliss'>liberapay.com/cipherbliss</a>."
|
||||
}
|
||||
global_config = {
|
||||
"slug_with_year": True,
|
||||
# "show_logs": False,
|
||||
"show_logs": True,
|
||||
"lang_default": "fr",
|
||||
"automatic_tagging_enabled": True,
|
||||
"automatic_tagging_org_files": True,
|
||||
"rebuild_files_filter": 2024,
|
||||
"posts_per_page": 10,
|
||||
"source_files_extension": "org",
|
||||
"excluded_tags": ['PROPERTIES', 'CREATED', 'ID', 'END','CUSTOM_ID','CLASS'],
|
||||
# controlled vocabulary to find tags automatically
|
||||
"auto_tag_terms": [
|
||||
"illustration", "tuto", "NSFW", "BD", "récit", "science",
|
||||
"wtf", "yaoi", "yuri", "sondage", "entreprise", "AI", "photos",
|
||||
"cosplay", "festival", "fanzine", "manif", "logiciel", "inktober",
|
||||
"kotlife", "féminisme", "fantasme", "art", "sociologie", "couple", "masturbation",
|
||||
"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"]
|
||||
}
|
||||
|
||||
|
||||
def fill_missing_config(site_config):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue