mirror of
https://forge.chapril.org/tykayn/orgmode-to-gemini-blog
synced 2025-06-20 09:04:42 +02:00
up styles
This commit is contained in:
parent
6d2b39414e
commit
fa8636185d
7 changed files with 20 additions and 10 deletions
|
@ -228,11 +228,12 @@ count_articles_updated = 0
|
|||
|
||||
for basename, info in files_dict.items():
|
||||
date_str = info['date']
|
||||
|
||||
if date_str > '20240101':
|
||||
current_year = datetime.now().year
|
||||
|
||||
if date_str > f'{current_year}0101':
|
||||
count_articles_updated += 1
|
||||
|
||||
print(f"Nombre d'articles mis à jour après le 01 01 2024 : {count_articles_updated}")
|
||||
print(f"Nombre d'articles mis à jour après le 01 01 {current_year} : {count_articles_updated}")
|
||||
|
||||
|
||||
def generate_blog_index(json_file, template_file, output_file):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue