back to all posts

Learn GatsbyJS by creating a tourism site -14

by Nabendu Biswas / December 18th, 2019

#gatsby #react #javascript
Series: Gatsby-tourism

Welcome to part-14 of the series. 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.

ContentfulContentful

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

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 queryOur query

This completes part-14 of the series.

Nabendu Biswas