feat: pages collection (privacy/disclaimer/contact) editable in CMS
This commit is contained in:
@@ -35,3 +35,17 @@ collections:
|
||||
- { name: cover, label: "Okładka", widget: image, required: false }
|
||||
- { name: draft, label: "Szkic (nieopublikowany)", widget: boolean, default: false }
|
||||
- { name: body, label: "Treść", widget: markdown }
|
||||
|
||||
- name: pages
|
||||
label: "Pages"
|
||||
label_singular: "Page"
|
||||
folder: "src/content/pages"
|
||||
create: true
|
||||
slug: "{{slug}}"
|
||||
extension: md
|
||||
format: frontmatter
|
||||
summary: "{{title}}"
|
||||
fields:
|
||||
- { name: title, label: "Title", widget: string }
|
||||
- { name: description, label: "Description", widget: text, required: false }
|
||||
- { name: body, label: "Body", widget: markdown }
|
||||
|
||||
Reference in New Issue
Block a user