Add a Tags Page and Display All Tags in a Gatsby.js v1 Blog

Share this video with your friends

Send Tweet

In this lesson, we’ll use GraphQL to query for tags on each of our posts then dynamically create page URLs that display links to all the posts that match each tag. The tags index page and tag pages will be dynamically created in a function we will define using the page templates we have built and Gatsby's createPage API.