backend:
  name: github
  repo: jabongzki/bongaceronwebsite
  branch: main
  site_domain: bongaceron.pages.dev
  base_url: https://cms-auth.jabongzki.workers.dev
  client_id: Ov23liYLnyD7EXRXw8IG
media_folder: "src/images/blog"
public_folder: "/images/blog"

collections:
  - name: "blog"
    label: "Blog Posts"
    folder: "src/posts"
    create: true
    slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
    fields:
      - { label: "Title", name: "title", widget: "string" }
      - { label: "Publish Date", name: "date", widget: "datetime", format: "YYYY-MM-DD", date_format: "MM-DD-YYYY", time_format: false }
      - { label: "Description", name: "description", widget: "text" }
      - { label: "Featured Image", name: "image", widget: "image", required: false }
      - { label: "Layout", name: "layout", widget: "hidden", default: "post.njk" }
      - { label: "Tags", name: "tags", widget: "hidden", default: ["posts"] }
      # Kept this one because it has your specific mode restrictions:
      - { label: "Body", name: "body", widget: "markdown", modes: ["rich_text", "raw"] }
