aboutsummaryrefslogtreecommitdiff
path: root/archetypes/default.md
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/default.md
parent58805381571574f39ff3ddeaf98f64d708486ca7 (diff)
downloadhugo-bearcub-e13df26c715f17686fbae1e709a3115ac7377df8.tar.gz
hugo-bearcub-e13df26c715f17686fbae1e709a3115ac7377df8.tar.bz2
refactor: move (non-post) pages to "content"-root
Diffstat (limited to 'archetypes/default.md')
-rw-r--r--archetypes/default.md17
1 files changed, 15 insertions, 2 deletions
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 }}«.