This site runs on Next.js. Blog posts are written in MDX. I chose next-mdx-remote over the default option for three reasons:
- You can store posts outside of the
appdirectory. - It supports front matter and rehype and remark plugins.
- If I ever needed to, I could pull in posts from an external source like a remote database using server side fetch.
Please check out the GitHub repo if you'd like to learn more. Feedback welcome.