From 9e77cb14d4bcddd43fe93898f0aa34a5fe878d3f Mon Sep 17 00:00:00 2001 From: tastytea Date: Fri, 9 Jul 2021 14:38:47 +0200 Subject: [PATCH] Fix archetype. --- archetypes/default.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/archetypes/default.adoc b/archetypes/default.adoc index 137975f..93757bb 100644 --- a/archetypes/default.adoc +++ b/archetypes/default.adoc @@ -1,12 +1,12 @@ --- -title: "{{ replace .TranslationBaseName "-" " " | title }}" -slug: {{ .Name }} +title: "{{ replace .TranslationBaseName "-" " " }}" +slug: "{{ replace .TranslationBaseName "_" "-" | urlize }}" description: null date: {{ .Date }} type: {{ .Type }} draft: true tags: -- +- toc: false ---