We’ve populated the index page with the blog data, but we still haven’t created individual blog pages yet (here’s the the desired result). We want the URL for these pages to depend on the blog data, which means we need to use dynamic routes.
In this lesson, you’ll learn:
getStaticPaths
.getStaticProps
to fetch the data for each blog post.remark
.