-
Use constants to avoid repetition.
-
Make sure such content-types exist in your Strapi application. Or replace/delete them in gatsby-config.js
{
resolve: `gatsby-source-strapi`,
options: {
apiURL: `http://localhost:1337`,
queryLimit: 1000, // Default to 100
// contentTypes: [`jobs`, `projects`, `blogs`, ],
//singleTypes:[`about` ]
contentTypes: [`jobs`, `projects`, `blogs`],
singleTypes: [`about`],
},
},