mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2024-12-25 14:29:36 +01:00
Store pages in subfolders
This commit is contained in:
parent
2f9c602853
commit
cedbed3375
@ -10,7 +10,7 @@ collections:
|
||||
label: "Posts"
|
||||
folder: "content/posts"
|
||||
create: true
|
||||
slug: "{{year}}-{{month}}-{{day}}---{{slug}}"
|
||||
slug: "/{{year}}-{{month}}-{{day}}---{{slug}}/index.md"
|
||||
fields:
|
||||
- {label: "Template", name: "template", widget: "hidden", default: "post"}
|
||||
- {label: "Title", name: "title", widget: "string"}
|
||||
@ -26,7 +26,7 @@ collections:
|
||||
label: "Pages"
|
||||
folder: "content/pages"
|
||||
create: true
|
||||
slug: "{{slug}}"
|
||||
slug: "/{{slug}}/index.md"
|
||||
fields:
|
||||
- {label: "Template", name: "template", widget: "hidden", default: "page"}
|
||||
- {label: "Title", name: "title", widget: "string"}
|
||||
|
Loading…
Reference in New Issue
Block a user