From 510dd8de2927d174c5ded1b9d859a9858942d000 Mon Sep 17 00:00:00 2001 From: eliott <eliott.sammier@tetras-libre.fr> Date: Thu, 8 Aug 2024 11:45:42 +0200 Subject: [PATCH] Update archetypes for activities & sections --- archetypes/activity/index.md | 5 +++++ archetypes/docs.md | 10 ---------- archetypes/posts.md | 6 ------ archetypes/section/_index.md | 7 +++++++ 4 files changed, 12 insertions(+), 16 deletions(-) create mode 100644 archetypes/activity/index.md delete mode 100644 archetypes/docs.md delete mode 100644 archetypes/posts.md create mode 100644 archetypes/section/_index.md diff --git a/archetypes/activity/index.md b/archetypes/activity/index.md new file mode 100644 index 0000000..b61a94a --- /dev/null +++ b/archetypes/activity/index.md @@ -0,0 +1,5 @@ ++++ +title = "{{ .Name | humanize | title }}" +date = "{{ .Date }}" +weight = 10 ++++ diff --git a/archetypes/docs.md b/archetypes/docs.md deleted file mode 100644 index 17e014c..0000000 --- a/archetypes/docs.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: "{{ .Name | humanize | title }}" -weight: 1 -# bookFlatSection: false -# bookToc: true -# bookHidden: false -# bookCollapseSection: false -# bookComments: false -# bookSearchExclude: false ---- diff --git a/archetypes/posts.md b/archetypes/posts.md deleted file mode 100644 index f897e95..0000000 --- a/archetypes/posts.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: "{{ .Name | humanize | title }}" -date: {{ .Date }} -# bookComments: false -# bookSearchExclude: false ---- diff --git a/archetypes/section/_index.md b/archetypes/section/_index.md new file mode 100644 index 0000000..d1b6613 --- /dev/null +++ b/archetypes/section/_index.md @@ -0,0 +1,7 @@ ++++ +title = "{{ .Name | humanize | title }}" +weight = 10 +bookCollapseSection = true ++++ + +{{< section >}} -- GitLab