refactor: move (non-post) pages to "content"-root
This commit is contained in:
parent
5880538157
commit
e13df26c71
5 changed files with 44 additions and 17 deletions
13
archetypes/blog.md
Normal file
13
archetypes/blog.md
Normal file
|
@ -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 }}«.
|
|
@ -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 }}«.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue