From 0084e069de16a7b6c15f50edd7479e2e49fe0874 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Mon, 22 Apr 2019 18:16:30 +0200 Subject: [PATCH] Update archetypes --- archetypes/docs.md | 2 ++ archetypes/posts.md | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 archetypes/posts.md diff --git a/archetypes/docs.md b/archetypes/docs.md index e215100..ba121ca 100644 --- a/archetypes/docs.md +++ b/archetypes/docs.md @@ -1,4 +1,6 @@ --- title: "{{ .Name | humanize | title }}" weight: 1 +# bookFlatSection: false +# bookShowToC: true --- diff --git a/archetypes/posts.md b/archetypes/posts.md new file mode 100644 index 0000000..2a20769 --- /dev/null +++ b/archetypes/posts.md @@ -0,0 +1,4 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +--- \ No newline at end of file