aboutsummaryrefslogtreecommitdiff
path: root/archetypes
diff options
context:
space:
mode:
authorRichard Qin <richard.qin.x@gmail.com>2026-09-10 00:39:04 +0800
committerRichard Qin <richard.qin.x@gmail.com>2026-09-10 00:39:04 +0800
commit2d425e6835738e3b3c796028e0f9716feed69f5c (patch)
tree336b9a272818b9dc3e92cef8c5167199da484493 /archetypes
parent6ccbdcbb02720e46a46bb62d60e1db089f8e419a (diff)
downloadrhomepage-2d425e6835738e3b3c796028e0f9716feed69f5c.tar.gz
rhomepage-2d425e6835738e3b3c796028e0f9716feed69f5c.tar.xz
Use created and updated document dates
Diffstat (limited to 'archetypes')
-rw-r--r--archetypes/journal.md4
-rw-r--r--archetypes/note.md2
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
---
-