How leerob/next-mdx-blog works
This is a Next.js MDX blog and personal-site template. A visitor reaches the home page or a note page; the application presents MDX content through shared layout and typography/link/code renderers. The sitemap discovers note pages, while an optional Postgres database supplies redirects during Next.js configuration. The page contents themselves were not excerpted, so content-level links and navigation are not inferred; the graph reflects the available tree, README, and sampled source.
Main entry points: n Note pages · layout.tsx Root layout · sitemap.ts Sitemap · next.config.ts Next config
Components 9
MDX content
- Home page
app/page.mdx - Note pages
app/n
Presentation
- Root layout
app/layout.tsx - MDX components
mdx-components.tsx
Site features
- Sitemap
app/sitemap.ts - Vercel Analytics
Redirect handling
- Next config
next.config.ts - Postgres
Other components
- Visitor
Connections 5
- Visitor → Home page: requests
- Visitor → Note pages: requests
- Root layout → Vercel Analytics: renders
app/layout.tsx - Sitemap → Note pages: scans
app/sitemap.ts - Next config → Postgres: queries redirects
next.config.ts