From 1e46e6b5f8b15cfb28b599a618efb0a467c957a3 Mon Sep 17 00:00:00 2001 From: matcornic Date: Sun, 20 Aug 2017 17:10:10 +0200 Subject: [PATCH] fix archetype content --- archetypes/chapter.md | 18 ++++++++++-------- archetypes/default.md | 13 ++++++------- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/archetypes/chapter.md b/archetypes/chapter.md index 1e6605ab6a..240b6524f4 100644 --- a/archetypes/chapter.md +++ b/archetypes/chapter.md @@ -1,11 +1,13 @@ ---- -title: "{{ replace .TranslationBaseName "-" " " | title }}" -date: {{ .Date }} -weight: 5 -pre: "X. " # HTML code as prefix in the menu ---- ++++ +title = "{{ replace .TranslationBaseName "-" " " | title }}" +date = {{ .Date }} +weight = 5 +chapter = true +pre = "X. " ++++ ### Chapter X -Lorem Ipsum. -Notice `draft` is set to true. \ No newline at end of file +# Some Chapter title + +Lorem Ipsum. \ No newline at end of file diff --git a/archetypes/default.md b/archetypes/default.md index 6bcf72cc2b..c89c2e40de 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -1,8 +1,7 @@ ---- -title: "{{ replace .TranslationBaseName "-" " " | title }}" -date: {{ .Date }} -weight: 5 ---- ++++ +title = "{{ replace .TranslationBaseName "-" " " | title }}" +date = {{ .Date }} +weight = 5 ++++ -Lorem Ipsum. -Notice `draft` is set to true. \ No newline at end of file +Lorem Ipsum. \ No newline at end of file