Learn GatsbyJS by creating a tourism site -14

Welcome to part-14 of the series. You can find part-13 here.

As told in the earlier post, this series is based on the learning from this awesome udemy course by John Smilga

In this part we will start my creating a new Content Model, for blog in our site. So, head over to the Contentful dashboard and click on Add content type in Content model.

Contentful

Rest of the chapter is exclusive content and will be in my upcoming book Gatsby Cookbook.

I have also added the required image in all posts. After that too get access to these new post, we need to restart the server. So, go ahead and stop gatsby develop from terminal and re-run it.

Also, refresh the graphql in browser and write the below query to display all posts.

Our query

This completes part-14 of the series.

You can find part-15 here.