From 0edc6541d0ebc8a52fa4e673e1cee4b634b4efc3 Mon Sep 17 00:00:00 2001 From: Josh Johnson Date: Sun, 5 Nov 2017 10:47:38 -0500 Subject: [PATCH] Updates archetypes to fix warnings when creating new content --- archetypes/default.md | 4 ++-- archetypes/microposts.md | 5 +++-- archetypes/photos.md | 7 ++++--- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/archetypes/default.md b/archetypes/default.md index a7aca45..6c74dad 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -1,4 +1,4 @@ +++ -title = "" -description = "" +title = "{{ replace .TranslationBaseName "-" " " | title }}" +date = "{{ .Date }}" +++ diff --git a/archetypes/microposts.md b/archetypes/microposts.md index b8017b7..c89b898 100644 --- a/archetypes/microposts.md +++ b/archetypes/microposts.md @@ -1,3 +1,4 @@ +++ -date = "" -+++ +title = "{{ .Date }}" +date = "{{ .Date }}" ++++ \ No newline at end of file diff --git a/archetypes/photos.md b/archetypes/photos.md index c68ecf8..1df89d0 100644 --- a/archetypes/photos.md +++ b/archetypes/photos.md @@ -1,5 +1,6 @@ +++ -date = "" -title = "" -location = "" +title = "{{ replace .TranslationBaseName "-" " " | title }}" +date = "{{ .Date }}" +location = "" +camera = "" +++