From 21b42f0b6c3c4cadc88a70a6c2006742ad264174 Mon Sep 17 00:00:00 2001 From: Jimmy Cai Date: Sat, 13 Feb 2021 15:55:56 +0100 Subject: [PATCH] feat: add archetypes (#145) --- archetypes/categories.md | 7 +++++++ archetypes/default.md | 13 +++++++++++-- archetypes/tags.md | 5 +++++ 3 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 archetypes/categories.md create mode 100644 archetypes/tags.md diff --git a/archetypes/categories.md b/archetypes/categories.md new file mode 100644 index 0000000..d771b29 --- /dev/null +++ b/archetypes/categories.md @@ -0,0 +1,7 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +image: +style: + background: "#2a9d8f" + color: "#fff" +--- \ No newline at end of file diff --git a/archetypes/default.md b/archetypes/default.md index ac36e06..0556d3a 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -1,2 +1,11 @@ -+++ -+++ +--- +title: "{{ replace .Name "-" " " | title }}" +description: +date: {{ .Date }} +image: +math: +license: +hidden: false +comments: true +draft: true +--- \ No newline at end of file diff --git a/archetypes/tags.md b/archetypes/tags.md new file mode 100644 index 0000000..2fd2fd7 --- /dev/null +++ b/archetypes/tags.md @@ -0,0 +1,5 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +description: +image: +--- \ No newline at end of file