diff options
| author | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-09-10 00:39:04 +0800 |
|---|---|---|
| committer | Richard-Qin-X <richard.qin.001@gmail.com> | 2026-09-10 00:39:04 +0800 |
| commit | cafd54a65f4d576cebdb3c177fc77bbea6dbe289 (patch) | |
| tree | 336b9a272818b9dc3e92cef8c5167199da484493 /archetypes | |
| parent | ce9554ceaa68e3a1469ece2b0f303bb7c98d1550 (diff) | |
Use created and updated document dates
Diffstat (limited to 'archetypes')
| -rw-r--r-- | archetypes/journal.md | 4 | ||||
| -rw-r--r-- | archetypes/note.md | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/archetypes/journal.md b/archetypes/journal.md index b15421e..dfcc43a 100644 --- a/archetypes/journal.md +++ b/archetypes/journal.md @@ -2,7 +2,7 @@ title: "{{ replace .File.ContentBaseName "-" " " | title }}" slug: "{{ .File.ContentBaseName }}" lang: en -date: {{ .Date.Format "2006-01-02" }} +created: {{ .Date.Format "2006-01-02" }} +updated: {{ .Date.Format "2006-01-02" }} license: CC-BY-SA-4.0 --- - diff --git a/archetypes/note.md b/archetypes/note.md index dbfe4fc..dfcc43a 100644 --- a/archetypes/note.md +++ b/archetypes/note.md @@ -2,7 +2,7 @@ title: "{{ replace .File.ContentBaseName "-" " " | title }}" slug: "{{ .File.ContentBaseName }}" lang: en +created: {{ .Date.Format "2006-01-02" }} updated: {{ .Date.Format "2006-01-02" }} license: CC-BY-SA-4.0 --- - |
