Lesson
Build a Template for Dynamic Pages
Now that we can query for the data and have it set up dynamically, we need to create a template page that will have our post data. In the `[slug].js` file, we will add in our imports and create a function called `Blog`. In this function, we will render out a header that will have the title, author, and a link back to the home page. And lastly, we will render out the body of our post. The last think we will want to do is add in some styling which you can get from the github link below.
- Duration
- 7 min
- Access
- Included
- Transcript
- Needs source