I’m trying to set up a website with 11ty and netlify cms but whenever I try to go to my admin panel I get this
Config Errors:
config must have required property 'media_folder'
config must have required property 'media_library'
config must match a schema in anyOf
config must have required property 'collections'
Check your config.yml file.
Here is my complete config.yml
backend:
name: git-gateway
branch: main
media_folder: "public/assets/blog"
public_folder: "/assets/blog"
collections:
- name: "blog"
label: "Blog"
folder: "src/blog"
create: true
slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
fields:
- { label: "Title", name: "title", widget: "string" }
- { label: "Description", name: "description", widget: "string" }
- { label: "Author", name: "Author", widget: "string" }
- { label: "Date", name: "date", widget: "datetime" }
- { label: "Tags", name: "tags", widget: "list", default: ["post"] }
- { label: "Featured Image", name: "image", widget: "image" }
- { label: "Image Caption", name: "imageAlt", widget: "string" }
- { label: "Body", name: "body", widget: "markdown" }
Can someone help?