Learn GatsbyJS by creating a tourism site -13

Nabendu Biswas
2 min readDec 15, 2019
Photo by Reiseuhu on Unsplash

Welcome to part-13 of the series. You can find part-12 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 first start with creating the query for the template page. We will first create the query to get data of a single slug.

slug

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

So, i fixed the error by changing the fragment from GatsbyContentfulFluid_tracedSVG to GatsbyContentfulFluid in all three files.

github

This completes part-13 of the series. You can find my code in my github account here.

You can find part-14 here.

--

--

Nabendu Biswas

Architect, ReactJS & Ecosystem Expert, Youtuber, Blogger