© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
N. BiswasExtending Gatsbyhttps://doi.org/10.1007/978-1-4842-6855-1_3

3. Adding Author Details to the Blog Site

Nabendu Biswas1  
(1)
Bhopal, India
 

In the previous chapter we learned to display blogs from MDX files. We’ll now add the author details, which includes his or her Twitter, GitHub, and DEV accounts after every post. After that, we will add tags to the home page and also to each post.

Adding Author Details

We gave already saved these fields in the front matter, so we need to first update the GraphQL query in post-template.js . Next, we will add these into the destructuring and also will include icons for Twitter, GitHub, and DEV.

We are then adding a new ...

Get Extending Gatsby: Create a Blog Site Using MDX, CDN, and Netlify now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.