Welcome to part-9 of the series. We will start to create our post-template.js file now. Let’s first add the query which we created in the earlier part here.
post-template.js
Rest of the chapter is exclusive content and is from my book Foundation Gatsby Projects.
The book can be purchased from Apress site here
This is what is shown on a smaller screen.
smaller screen
This is an almost complete project, if one want to use for his personal blog. But i am creating it for everyone to post, so a lot of other things are remaining.
Beside this tags on home-page, author twitter/github/dev details on each post, twitter/linkedin share of each post, canonical links addition, search option in home-page are remaining.
This completes part-9 of the series.
You can find the code for the same in this github repo.