Blog
MDX-powered blog with categories and RSS feed.
Overview
The blog uses MDX files processed with next-mdx-remote and gray-matter. No CMS required - just add .mdx files to content/blog/.
Creating a Post
Create a new file at content/blog/your-post-slug.mdx:
---
title: "Your Post Title"
description: "A short description for SEO and previews."
date: 2024-03-15
author: "Your Name"
category: "tutorials"
tags: ["nextjs", "react"]
published: true
---
Your content here. You can use **Markdown** and React components.
Frontmatter Fields
| Field | Required | Description |
|---|---|---|
title | Yes | Post title |
description | Yes | SEO description and preview text |
date | Yes | Publication date (YYYY-MM-DD) |
author | No | Author name |
category | No | Single category string |
tags | No | Array of tag strings |
image | No | Cover image URL |
published | No | Set to false to hide (default: true) |
Categories
Categories are extracted automatically from your posts. They appear on the blog index page and link to /blog/category/[category].
RSS Feed
An RSS feed is automatically generated at /feed.xml including all published blog posts.
AI Summarize Bar
Blog pages include a "Summarize with AI" bar that copies the page URL to clipboard and opens ChatGPT, Claude, or Perplexity. To customize or remove it, edit the component in components/shared/summarize-with-ai.tsx.