feat: pages collection (privacy/disclaimer/contact) editable in CMS

This commit is contained in:
ctao
2026-07-24 23:11:57 +02:00
parent cf35739a64
commit a8c0e802e2
6 changed files with 88 additions and 1 deletions
+14
View File
@@ -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 }