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