1 min read

Hello World

A sample blog post to demonstrate the MDX content pipeline with frontmatter validation.

nextjsmdx

This is a sample blog post rendered through the MDX content pipeline.

How it works

Content lives in content/blog/{lang}/{slug}.mdx and is loaded at request time using gray-matter for frontmatter parsing and zod for validation.

Features

  • Frontmatter validated with Zod schemas
  • Reading time calculated automatically
  • i18n-ready with per-language content directories
  • Custom components injected at render time

Adding new posts

Create a new .mdx file in content/blog/en/ with valid frontmatter and it will appear automatically.