backend:
  name: git-gateway
  branch: main # Branch to update (optional; defaults to master)
media_folder: "public/images/" # Location where files will be stored in the repo
public_folder: "/images" # The src attribute for uploaded media
collections:
  - name: "blog" # Used in routes, e.g., /admin/collections/blog
    label: "Blog" # Used in the UI
    folder: "src/content/projecten" # The path to the folder where the documents are stored
    create: true # Allow users to create new documents in this collection
    fields: # The fields for each document, usually in frontmatter
      - { label: "Layout", name: "layout", widget: "hidden", default: "blog" }
      - { label: "Title", name: "title", widget: "string" }
      - { label: "Publish Date", name: "date", widget: "datetime" }
      - { label: "Featured Image", name: "heroImage", widget: "image" }
      - { label: "Image", name: "images", widget: "list", fields: [{ label: "Image file", name: "src", widget: "image" }, { label: "Description", name: "alt", widget: "string" }]}
      - { label: "Video", name: "videos", widget: "list", fields: [{ label: "Video file", name: "src", widget: "file" }, { label: "Description", name: "alt", widget: "string" }]}
      - { label: "Sound", name: "sounds", widget: "list", fields: [{ label: "Sound file", name: "src", widget: "file" }, { label: "Description", name: "alt", widget: "string" }]}
      - { label: "Tags", name: "tags", widget: "list", field: {label: "Tag", name: "tag", widget: "string"} }
      - { label: "Body", name: "body", widget: "markdown" }