diff options
Diffstat (limited to 'archetypes')
-rw-r--r-- | archetypes/blog.md | 13 | ||||
-rw-r--r-- | archetypes/default.md | 17 |
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 }}«. |