From 3386d112556661069a2a4e6dd2283819cd875028 Mon Sep 17 00:00:00 2001 From: Anna Wiggins Date: Wed, 13 Sep 2023 17:57:41 +0000 Subject: [PATCH] Improve content template. --- archetypes/default.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archetypes/default.md b/archetypes/default.md index 84818ca..1dd40b5 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -1,7 +1,7 @@ --- -title: "{{ replace .Name "-" " " | title }}" +title: "{{ replace (replace .Name "draft-" "") "-" " " | title }}" author: "Anna" -date: {{ .Date | .dateFormat (.Site.Params.dateformat)" }} +date: {{ .dateFormat (.Site.Params.dateformat) .Date }} draft: true tags: - tag1