change slug

This commit is contained in:
Tykayn 2024-11-18 16:01:34 +01:00 committed by tykayn
parent a5ddf701e5
commit 895996cf6b
1959 changed files with 62900 additions and 64185 deletions

View file

@ -34,7 +34,7 @@ def create_uuid_property():
# Écriture du fichier org
with open(filename, "w") as f:
f.write(f"{create_uuid_property()}")
f.write(f"#+TITLE: {args.title}\n")
f.write(f"#+title: {args.title}\n")
f.write(f"#+CREATED: <{date_string_full}>\n")
f.write(f"#+TAGS: \n")
f.write(f"#+SLUG: {slug}\n")
@ -42,4 +42,18 @@ with open(filename, "w") as f:
f.write(f"* {args.title}\n\n")
# f.write(f"[{date_string}]\n\n")
#+title: de-lisolement-social-et-des-choix-de-vie
#+post_ID: 2719
#+post_slug: de-lisolement-social-et-des-choix-de-vie
#+post_url: https://tykayn.fr/2021/de-lisolement-social-et-des-choix-de-vie
#+post_title: De Lisolement social et des choix de vie
#+post_type: post
#+post_mime_types:
#+post_guid: https://tykayn.fr/?p=2719
#+post_status: publish
#+post_date_published: <2021-10-26 13:06:34>
#+post_date_modified: <2021-10-26 13:06:34>
#+post_index_page_roam_id: f7fe8338-4738-4934-9038-35a004ca3786
print(f"Le fichier '{filename}' a été créé avec succès.")