Hello 👋
This is MDX rendered statically by Next.js with full image support!
Add more posts under /content/blog/.
Features
- ✅ Static site generation
- ✅ MDX support with custom components
- ✅ Optimized images with Next.js Image
- ✅ SEO optimized
- ✅ Fast and lightweight
- ✅ Automatic captions for images
Image Examples
Local Images with Captions
You can add images from your /public/images/ directory with automatic optimization:

The caption (text after the URL in quotes) will be rendered as a <figcaption> automatically!
Remote/CDN Images
Images from external sources work too (as long as the domain is in next.config.js):

Using Next.js Image Component Directly
For more control, you can import and use the Image component:
import Image from 'next/image'
<Image
src="/images/hero.jpg"
alt="Hero image"
width={1200}
height={600}
className="rounded-lg"
/>
Getting Started
To add a new blog post with images:
- Create a new
.mdxfile in/content/blog/ - Add your images to
/public/images/blog/ - Reference them using markdown syntax or the Image component
- Captions are automatically generated from the image title attribute
That's it! Your images will be automatically optimized, lazy-loaded, and responsive.
