Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CaiJimmy/hugo-theme-stack.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimmy Cai <jimmehcai@gmail.com>2021-02-13 17:55:56 +0300
committerGitHub <noreply@github.com>2021-02-13 17:55:56 +0300
commit21b42f0b6c3c4cadc88a70a6c2006742ad264174 (patch)
treee3287d81bcbc8540b1531cdd07fc7814d262dab2
parent79412144d92a3f08184b6951e291b55cac28a22e (diff)
feat: add archetypes (#145)
-rw-r--r--archetypes/categories.md7
-rw-r--r--archetypes/default.md13
-rw-r--r--archetypes/tags.md5
3 files changed, 23 insertions, 2 deletions
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