From 4ade714a77d368f63b0191bc94597a6aa3022ffa Mon Sep 17 00:00:00 2001 From: Zachary King Date: Sat, 15 Aug 2020 17:27:53 -0400 Subject: [PATCH 1/2] 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 = ["", ""] From bb344ddad7183b5d6451af8f6aaa0611718ef800 Mon Sep 17 00:00:00 2001 From: Zachary King Date: Sun, 27 Sep 2020 18:01:26 -0400 Subject: [PATCH 2/2] update for brain dead copy/paste --- archetypes/posts.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/archetypes/posts.md b/archetypes/posts.md index 50ec5f6..01cbed6 100644 --- a/archetypes/posts.md +++ b/archetypes/posts.md @@ -1,7 +1,7 @@ +++ -title = "" -date = "{{ replace .TranslationBaseName "-" " " | title }}" -author = "{{ .Date }}" +title = "{{ replace .TranslationBaseName "-" " " | title }}" +date = "{{ .Date }}" +author = "" authorTwitter = "" #do not include @ cover = "" tags = ["", ""]