Closed raae closed 5 years ago
When doing this also remove all ignore:
stuff in gatsby-config.js
.
And only have two gatsby-source-filesystem
. One for the audio folder and one for the images folder.
Also, do not use fun query names like lillyJoanQuery
. They should be descriptive. In this case, it could be allImageFiles
.
😸 👍
Update the GraphQL query used
createPages
to include only the image files.The "images" in the query above refers to the name in the code below from
gatsby-config.js
.