Blog
Sep 24, 2025
How I Built a Simple MDX Blog in Next.js and why I chose native mdx over Contentlayer
Next.js’s official MDX integration lets you import .mdx as components and export metadata alongside content. I used @next/mdx with the App Router and kept indexing simple by importing metadata directly from each MDX file. No extra build steps, no content database, and the sitemap pulls dates straight from the MDX front‑matter.
Source: HackerNoon →