From 4f08b7c84775f3c61f6595310903b74d43b7e085 Mon Sep 17 00:00:00 2001 From: Helmut Merz Date: Wed, 22 Dec 2021 08:51:13 +0100 Subject: [PATCH] provide config.yaml with default settings; extend archetypes by additional params --- archetypes/default.md | 2 ++ config.yaml | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 config.yaml diff --git a/archetypes/default.md b/archetypes/default.md index a8c3a47..3c6b06a 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -3,6 +3,8 @@ title: "{{ replace .Name "-" " " | title }}" summary: "" img: teaser: "" +pageid: {{ .Name }} +parents: [] domains: [] topics: [] doctypes: [] diff --git a/config.yaml b/config.yaml new file mode 100644 index 0000000..de41bad --- /dev/null +++ b/config.yaml @@ -0,0 +1,16 @@ +frontmatter: + date: + - date + - publishDate + - lastmod + - :fileModTime + +related: + includeNewer: true + indices: + - name: parents + weight: 100 + - name: topics + weight: 100 + threshold: 80 + toLower: true