aboutsummaryrefslogtreecommitdiff
path: root/archetypes
diff options
context:
space:
mode:
authorJan Raasch <jan@janraasch.com>2020-09-04 08:54:19 +0200
committerJan Raasch <jan@janraasch.com>2020-09-04 09:02:09 +0200
commite13df26c715f17686fbae1e709a3115ac7377df8 (patch)
treef4770deb71db54feb91aeffd57f5d3522e7668ce /archetypes
parent58805381571574f39ff3ddeaf98f64d708486ca7 (diff)
downloadhugo-bearcub-e13df26c715f17686fbae1e709a3115ac7377df8.tar.gz
hugo-bearcub-e13df26c715f17686fbae1e709a3115ac7377df8.tar.bz2
refactor: move (non-post) pages to "content"-root
Diffstat (limited to 'archetypes')
-rw-r--r--archetypes/blog.md13
-rw-r--r--archetypes/default.md17
2 files changed, 28 insertions, 2 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 ed40bd4..e8406b3 100644
--- a/archetypes/default.md
+++ b/archetypes/default.md
@@ -1,9 +1,22 @@
+++
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."
-# menu = "main"
-tags = [{{ range $plural, $terms := .Site.Taxonomies }}{{ range $term, $val := $terms }}"{{ printf "%s" $term }}",{{ end }}{{ end }}]
+
+#
+# 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 }}«.