DEV Community

Discussion on: Svelte + Sapper + Netlify CMS

 
jayswaan profile image
JaySwaan

Hey Andrew, this is correct. I had a field in my config.yml called content which provided the content for my posts so all the data I needed was inside greyMatter(post).data and I destructured it all out of there. I'm not using the exact same setup so my data (including content) was all inside of data.