https://606b766b6815c9009cc1ca07–hl01.netlify.app
I want to use Netlify CMS in this site, made by Vuepress. I have created the folder /admin with the files index.html and config.yml:
backend:
name: github
branch: master
repo: d-codesys/vuepress-theme-blog
publish_mode: editorial_workflow
media_folder: “public/assets/img”
public_folder: “img”
collections:
- name: “blog” # Used in routes, e.g., /admin/collections/blog
label: “Blog” # Used in the UI
folder: “blog/_posts” # The path to the folder where the documents are stored
create: true # Allow users to create new documents in this collection
slug: “{{day}}-{{month}}-{{year}}-{{slug}}” # Filename template, e.g., YYYY-MM-DD-title.md
fields: # The fields for each document, usually in front matter- {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: “thumbnail”, widget: “image”}
- {label: “Rating (scale of 1-5)”, name: “rating”, widget: “number”}
- {label: “Body”, name: “body”, widget: “markdown”}
I’ve tried a lot of path in the media_folder but it doesn’t work I’m not sure what is happen.
Also show this message:
Error loading the CMS configuration
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.