---
title: "Discussion on \"How I built brockherion.dev\" | Hashnode"
description: "Discussion on \"How I built brockherion.dev\". Taking a look back at where this site came from, where it is now, and where it's going."
url: "https://hashnode.com/posts/how-i-built-brockheriondev/626873427b6a339ac2d026e8"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How I built brockherion.dev](https://brockherion.hashnode.dev/how-i-built-brockheriondev?utm_source=hashnode&utm_medium=feed)

Taking a look back at where this site came from, where it is now, and where it's going.

Apr 26, 2022 · 8 min read · brockherion.hashnode.dev  
Read the article

-   [#web-development](https://hashnode.com/tag/web-development)
-   [#blogging](https://hashnode.com/tag/blogging)
-   [#portfolio](https://hashnode.com/tag/portfolio)
-   [#nextjs](https://hashnode.com/tag/nextjs)
-   [#reactjs](https://hashnode.com/tag/reactjs)

## Written by

[Brock Herion](https://hashnode.com/@brockherion)

@brockherion · Elmhurst, IL

  
[View profile](https://hashnode.com/@brockherion)

Caffeine Addicted Full Stack Cat Dad

I'm a full-stack developer from the Chicago suburbs. I primarily build applications using React, Typescript, and C#. I'm a big fan of Next.js and taking advantage of serverless technologies. Outside of development, I spend a lot of time reading and playing video games. I also happen to be a Sith Lord, so I spend a decent amount of time shooting lightning from my hands and spinning. It's a good trick.

## Responses 1

Markdown supported · ⌘↵ to post

[James 'Dante' Midzi](https://hashnode.com/@Psypher1)

[Apr 26, 2022](https://hashnode.com/posts/how-i-built-brockheriondev/626873427b6a339ac2d026e8/comment/6268770d3033e09ae73ecdd0)

I just checked it out. I like how it looks... Well Done!

Im curious how you implemented Featured articles for your home page... I'm currently rebuilding my site and I'd like something of the sort ..

[Brock Herion](https://hashnode.com/@brockherion)

[Apr 26, 2022](https://hashnode.com/posts/how-i-built-brockheriondev/626873427b6a339ac2d026e8/comment/6268770d3033e09ae73ecdd0#reply-626885533033e09ae73ece8e)

Hey James, thank you so much!

For the featured articles, I added a field to the frontmatter in my markdown files called `isFeatured`. When I want to grab my featured articles, I check the frontmatter of each post and filter out the ones that aren't featured. From that list, I just grab the top three tops!

I linked the repo in the article for you to look at. If you look at how each article is structured, you'll see that field in the frontmatter. Then if you head into utils/mdxUtils.ts, you'll find a function called `getPopularPosts`. This is where that filtering logic is.

Happy coding!

[James 'Dante' Midzi](https://hashnode.com/@Psypher1)

[Apr 27, 2022](https://hashnode.com/posts/how-i-built-brockheriondev/626873427b6a339ac2d026e8/comment/6268770d3033e09ae73ecdd0#reply-626888557b6a339ac2d0283c)

Oh alright I see...

I'll have a digging through the code. Thak you.

Also, when you do figure out the cross posting thing, please let me know. While I don't have an issue with copying my posts on here to Dev.to, it is Medium that irks me
