samvera / samvera.org

Static built NextJS web app for samvera.org
https://samvera.org
1 stars 1 forks source link

Set up Blog Posts in Contentful CMS and display in the UI #118

Closed adamjarling closed 7 months ago

adamjarling commented 8 months ago

We should move Blog Posts to a new Content Model in Contentful Headless CMS.

@heathergreerklein I removed the previous "Blog Post" Content Model in Contentful, and replaced with a new Content Model which is easier to parse on the front end, and includes some best practices when creating Content Models. For example...

Before

image

After

image

Best practices when creating Content Models

  1. Keep field names short and tight. For example if the Content Model is "Blog Post", the Title field should be "Title", not "Blog Post Title".
  2. All long, descriptive content should be data type "Rich Text", not "Long Text". This way our app can process the Rich Text content (links, perhaps images, etc.) included in content returned by Contenful.

Done looks like