aboutsummaryrefslogtreecommitdiff
path: root/archetypes
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2023-01-24 03:20:47 +0000
committerJulio Capote <jcapote@gmail.com>2023-01-24 03:20:47 +0000
commitf24f2d15275961f1c0144e68fde75a60aeaaa165 (patch)
tree38be1626f3ade436fbd17eadb2753fa2f0effb37 /archetypes
parentbf04383b34c4a4fdfe239de2805a30a051921002 (diff)
downloadcapotej.com-f24f2d15275961f1c0144e68fde75a60aeaaa165.tar.gz
move to bear theme
Diffstat (limited to 'archetypes')
-rw-r--r--archetypes/blog.md13
-rw-r--r--archetypes/default.md26
2 files changed, 34 insertions, 5 deletions
diff --git a/archetypes/blog.md b/archetypes/blog.md
new file mode 100644
index 0000000..e4594c6
--- /dev/null
+++ b/archetypes/blog.md
@@ -0,0 +1,13 @@
++++
+title = "{{ replace .Name "-" " " | title }}"
+date = "{{ .Date }}"
+
+#
+# description is optional
+#
+# description = "An optional description for SEO. If not provided, an automatically created summary will be used."
+
+tags = [{{ range $plural, $terms := .Site.Taxonomies }}{{ range $term, $val := $terms }}"{{ printf "%s" $term }}",{{ end }}{{ end }}]
++++
+
+This is a page about »{{ replace .Name "-" " " | title }}«.
diff --git a/archetypes/default.md b/archetypes/default.md
index 00e77bd..e8406b3 100644
--- a/archetypes/default.md
+++ b/archetypes/default.md
@@ -1,6 +1,22 @@
----
-title: "{{ replace .Name "-" " " | title }}"
-date: {{ .Date }}
-draft: true
----
++++
+title = "{{ replace .Name "-" " " | title }}"
+date = "{{ .Date }}"
+#
+# Set menu to "main" to add this page to
+# the main menu on top of the page
+#
+menu = "main"
+
+#
+# description is optional
+#
+# description = "An optional description for SEO. If not provided, an automatically created summary will be used."
+
+#
+# tags are optional
+#
+# tags = [{{ range $plural, $terms := .Site.Taxonomies }}{{ range $term, $val := $terms }}"{{ printf "%s" $term }}",{{ end }}{{ end }}]
++++
+
+This is a page about »{{ replace .Name "-" " " | title }}«.