diff options
Diffstat (limited to 'create/content_template_handler.go')
-rw-r--r-- | create/content_template_handler.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/create/content_template_handler.go b/create/content_template_handler.go index 48e7f3b4b..d8c1fc71c 100644 --- a/create/content_template_handler.go +++ b/create/content_template_handler.go @@ -48,11 +48,11 @@ type ArchetypeFileData struct { } const ( - archetypeTemplateTemplate = `+++ -title = "{{ replace .TranslationBaseName "-" " " | title }}" -date = {{ .Date }} -draft = true -+++` + archetypeTemplateTemplate = `--- +title: "{{ replace .TranslationBaseName "-" " " | title }}" +date: {{ .Date }} +draft: true +---` ) func executeArcheTypeAsTemplate(s *hugolib.Site, kind, targetPath, archetypeFilename string) ([]byte, error) { |