From 960e71e89942006dd005eec737da868bfed7ce18 Mon Sep 17 00:00:00 2001 From: nodejh Date: Tue, 4 Jul 2017 10:15:02 +0800 Subject: [PATCH] fix issue: From Hugo 0.24 this must be provided in the archetype file itself, https://github.com/nodejh/hugo-theme-cactus-plus/issues/13 --- archetypes/default.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/archetypes/default.md b/archetypes/default.md index d651844..87fc243 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -1,6 +1,7 @@ +++ -title = "" -description = "" +title = "{{ replace .TranslationBaseName "-" " " | title }}" +date = {{ .Date }} tags = ["x"] categories = ["y"] +draft = false +++