Ajout du champ commenté "updated" aux modèles

This commit is contained in:
julien
2026-08-05 16:24:01 +02:00
parent beb9aff836
commit 2b8c088e57
20 changed files with 32 additions and 3 deletions
+5
View File
@@ -134,6 +134,7 @@ def build_vocabulary(title: str, timestamp: str, nature: str) -> str:
return f"""+++
title = {toml_string(title)}
date = {timestamp}
# updated = YYYY-MM-DD
description = ""
draft = true
@@ -150,6 +151,7 @@ def build_sign(title: str, timestamp: str, mzl: str) -> str:
return f"""+++
title = {toml_string(title)}
date = {timestamp}
# updated = YYYY-MM-DD
description = ""
draft = true
@@ -168,6 +170,7 @@ def build_page(section: str, title: str, timestamp: str) -> str:
return f"""+++
title = {toml_string(title)}
date = {timestamp}
# updated = YYYY-MM-DD
description = ""
draft = true
@@ -182,6 +185,7 @@ banner_credit = ""
return f"""+++
title = {toml_string(title)}
date = {timestamp}
# updated = YYYY-MM-DD
description = ""
draft = true
@@ -194,6 +198,7 @@ themes = []
return f"""+++
title = {toml_string(title)}
date = {timestamp}
# updated = YYYY-MM-DD
description = ""
draft = true