My first CMS try and BOOM

I’ve created a CMS folder (could have been any name), and a subfolder for blog post.

Created to .md files inside the folder. Then created a collection and set the item to {{item.body}}.

Then this. See video. What am I missing?

Is your “Advanced” project setting set to php instead of html?

make sure you have the same markdown frontmatter in your .md-files

they are still different

1 Like

As @Pegasus states, the front matter needs to be consistent for all the markdown files: see - Fatal Error - Missing Frontmatter Tag? - #4 by ben

I’m using one .md file with this front matter:

The page where I’m testing the collection component is .html, but changing it to .php creates another set of errors

I have found the solution: .php was indeed required AND the {{Item.body}} should have been in lowercase {{item.body}}

1 Like

Your video showed two! :wink:

Glad you got it sorted. :+1:

yeah, for testing purposes, I removed one to see if the issue would disappear using only one file.

1 Like