diff options
| author | Richard Qin <richard.qin.x@gmail.com> | 2026-10-09 02:41:20 +0800 |
|---|---|---|
| committer | Richard Qin <richard.qin.x@gmail.com> | 2026-10-09 02:41:20 +0800 |
| commit | 96eaac9c58c15b8511169f26e573f360ee1714c3 (patch) | |
| tree | cafa39fc8f87f4c685e5fe64cc8be3cfd48b4a8d /archetypes/note.md | |
| parent | 78189b25f3a92948ba214ced88a4239ce976c3c0 (diff) | |
| download | rhomepage-96eaac9c58c15b8511169f26e573f360ee1714c3.tar.gz rhomepage-96eaac9c58c15b8511169f26e573f360ee1714c3.tar.xz | |
fixed hugo date template
Signed-off-by: Richard Qin <richard.qin.x@gmail.com>
Diffstat (limited to 'archetypes/note.md')
| -rw-r--r-- | archetypes/note.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archetypes/note.md b/archetypes/note.md index dfcc43a..47f0e34 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" }} +created: {{ time.Format "2006-01-02" .Date }} +updated: {{ time.Format "2006-01-02" .Date }} license: CC-BY-SA-4.0 --- |
