The dev.to project with GatsbyJS-9

Photo by Studio Republic on Unsplash

Welcome to part-9 of the series. You can find part-8 here.

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 will be in my upcoming book Gatsby Cookbook. You can find more details about it 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 part-10 here.

You can find the code for the same in this github repo.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store