From 4f8366220a7e0b1ba10ea15b6e606f953c844f62 Mon Sep 17 00:00:00 2001 From: Khosrow Moossavi Date: Mon, 28 May 2018 08:16:37 -0400 Subject: [PATCH] Generate correct date within archetypes (#27) --- archetypes/default.md | 1 + archetypes/posts.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/archetypes/default.md b/archetypes/default.md index 2ee876f..c2de8e4 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -1,5 +1,6 @@ +++ draft = true +date = {{ .Date }} title = "" slug = "" +++ diff --git a/archetypes/posts.md b/archetypes/posts.md index 701ace0..a3ea93e 100644 --- a/archetypes/posts.md +++ b/archetypes/posts.md @@ -1,6 +1,6 @@ +++ draft = true -date = "2018-01-01T00:00:00-00:00" +date = {{ .Date }} title = "" slug = "" tags = []