mirror of
https://forge.chapril.org/tykayn/orgmode-to-gemini-blog
synced 2025-06-20 09:04:42 +02:00
up new article et capture fusion
This commit is contained in:
parent
3c1ebbc735
commit
dcc9d000fb
2 changed files with 101 additions and 1 deletions
|
@ -21,9 +21,11 @@ date_string = now.strftime("%Y%m%d%H%M%S")
|
|||
date_string_full = now.strftime("%Y-%m-%d %H:%M:%S")
|
||||
# date_string_full = now.strftime("%Y%m%d%H%M%S")
|
||||
slug = args.title.lower().replace(" ", "-")
|
||||
slug = slug.replace("--", "-")
|
||||
slug = slug.replace("--", "-")
|
||||
file_abs_path = os.path.abspath(os.path.dirname(__file__))
|
||||
|
||||
filename = f"{file_abs_path}/sources/{args.blog_dir}/lang_{args.lang}/{date_string}_{args.blog_dir}_{slug}.org"
|
||||
filename = f"{file_abs_path}/sources/{args.blog_dir}/lang_{args.lang}/{date_string}__{slug}.org"
|
||||
|
||||
import uuid
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue