Ajout d'un script d'horodatage des fiches, affichage des fiches récement modifiées sur la page d'accueil

This commit is contained in:
julien
2026-08-05 17:46:30 +02:00
parent 2b8c088e57
commit 65642a5983
35 changed files with 279 additions and 60 deletions
+5 -5
View File
@@ -134,7 +134,7 @@ def build_vocabulary(title: str, timestamp: str, nature: str) -> str:
return f"""+++
title = {toml_string(title)}
date = {timestamp}
# updated = YYYY-MM-DD
# updated = YYYY-MM-DDTHH:MM:SS+HH:MM
description = ""
draft = true
@@ -151,7 +151,7 @@ def build_sign(title: str, timestamp: str, mzl: str) -> str:
return f"""+++
title = {toml_string(title)}
date = {timestamp}
# updated = YYYY-MM-DD
# updated = YYYY-MM-DDTHH:MM:SS+HH:MM
description = ""
draft = true
@@ -170,7 +170,7 @@ def build_page(section: str, title: str, timestamp: str) -> str:
return f"""+++
title = {toml_string(title)}
date = {timestamp}
# updated = YYYY-MM-DD
# updated = YYYY-MM-DDTHH:MM:SS+HH:MM
description = ""
draft = true
@@ -185,7 +185,7 @@ banner_credit = ""
return f"""+++
title = {toml_string(title)}
date = {timestamp}
# updated = YYYY-MM-DD
# updated = YYYY-MM-DDTHH:MM:SS+HH:MM
description = ""
draft = true
@@ -198,7 +198,7 @@ themes = []
return f"""+++
title = {toml_string(title)}
date = {timestamp}
# updated = YYYY-MM-DD
# updated = YYYY-MM-DDTHH:MM:SS+HH:MM
description = ""
draft = true