Home
Support Forums

Editing using CMS doesn't work as expected!

Here is my code:

That’s the current Dashboard I’m getting with code above:

What am I doing wrong here? I wanna be able to edit the title and text.

Thanks in advance!

Hi @Nevzat-dev,

collections:
  - name: "home"
    label: "Home"
    folder: "../../src/Content"

folder needs to be relative to root of repo not root of config file. Could you try changing that?

For editing non-repeatable data in a single json file, you probably want to use a file collection as well:
https://www.netlifycms.org/docs/collection-types/#file-collections

You have to let the CMS know you’re using json if you’re using a folder collection. Markdown is the default value.

https://www.netlifycms.org/docs/configuration-options/#extension-and-format

1 Like

Thanks. It works now.

1 Like

I am glad everything is working now, @Nevzat-dev. @tomrutgers, thanks for the awesome insight heres. We are grateful for your expertise :netliconfetti: