From 031bc13507e39a1ed3b80c6111bec6f9ff2b0b4a Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Sat, 20 May 2023 23:18:36 +0200 Subject: [PATCH] Templating --- archetypes/default.md | 6 ------ themes/nluug/archetypes/default.md | 30 +++++++++++++++++++++++++++++ themes/nluug/archetypes/default.rst | 1 - 3 files changed, 30 insertions(+), 7 deletions(-) delete mode 100644 archetypes/default.md create mode 100644 themes/nluug/archetypes/default.md diff --git a/archetypes/default.md b/archetypes/default.md deleted file mode 100644 index 00e77bd..0000000 --- a/archetypes/default.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: "{{ replace .Name "-" " " | title }}" -date: {{ .Date }} -draft: true ---- - diff --git a/themes/nluug/archetypes/default.md b/themes/nluug/archetypes/default.md new file mode 100644 index 0000000..ddddc5e --- /dev/null +++ b/themes/nluug/archetypes/default.md @@ -0,0 +1,30 @@ +--- +categories: +- cat1 +- cat2 +date: {{ .Date }} +description: "Placeholder: duidelijke beschrijving" +slug: +tags: +- tag1 +- tag2 +title: "{{ replace .Name "-" " " | title }}" +draft: true +--- + +# Titel van pagina + +## Heading level 2 + +Dit is een [link](https://example.com/) naar example.com. + +### Heading level 3 + +* Lijstitem 1 +* Lijstitem 2 +* Lijstitem 3 + +## Opgelet + +Standaard staat het document op draft, deze regel in frontmatter dient verwijderd te worden. + diff --git a/themes/nluug/archetypes/default.rst b/themes/nluug/archetypes/default.rst index ed92eab..43109d3 100644 --- a/themes/nluug/archetypes/default.rst +++ b/themes/nluug/archetypes/default.rst @@ -4,7 +4,6 @@ categories: - cat2 date: {{ .Date }} description: "Placeholder: duidelijke beschrijving" -lastmod: {{ .Date }} tags: - tag1 - tag2