From 4ade714a77d368f63b0191bc94597a6aa3022ffa Mon Sep 17 00:00:00 2001 From: Zachary King Date: Sat, 15 Aug 2020 17:27:53 -0400 Subject: [PATCH] Add defaults to post archetype --- archetypes/posts.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archetypes/posts.md b/archetypes/posts.md index cf19c25..50ec5f6 100644 --- a/archetypes/posts.md +++ b/archetypes/posts.md @@ -1,7 +1,7 @@ +++ title = "" -date = "" -author = "" +date = "{{ replace .TranslationBaseName "-" " " | title }}" +author = "{{ .Date }}" authorTwitter = "" #do not include @ cover = "" tags = ["", ""]