From 1dc1af35ccc15b8bed4d1676429ccd3ac9ea09c7 Mon Sep 17 00:00:00 2001 From: Nick Dumas Date: Fri, 13 Mar 2020 09:47:20 -0400 Subject: [PATCH] Tweak default front-matter. None of the variables were being filled out, which wasn't great. Now we have sane defaults! --- archetypes/posts.md | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/archetypes/posts.md b/archetypes/posts.md index a0d1a30..9164849 100644 --- a/archetypes/posts.md +++ b/archetypes/posts.md @@ -1,10 +1,11 @@ -+++ -title = "" -date = "" -author = "" -cover = "" -tags = ["", ""] -keywords = ["", ""] -description = "" -showFullContent = false -+++ +--- +title: "{{ replace .Name "-" " " | title }}" +date: "{{ .Date }}" +draft: true +author: '{{ index .Site.Author "name" }}' +cover: "" +tags: ["", ""] +keywords: ["", ""] +description: "" +showFullContent : false +---