From 5f84f18c24b3bf64768befad82823a59c26e65d5 Mon Sep 17 00:00:00 2001 From: Ngô Ngọc Đức Huy Date: Fri, 28 Jul 2023 21:08:48 +0700 Subject: Use simple date format --- archetypes/blog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archetypes/blog.md b/archetypes/blog.md index e5acb6f..2f7a907 100644 --- a/archetypes/blog.md +++ b/archetypes/blog.md @@ -1,6 +1,6 @@ +++ title: "{{ replace .Name "-" " " | title }}" -date: {{ .Date }} +date: {{ now.Format "2026-01-02" }} categories: [ blog ] draft: true +++ -- cgit 1.4.1