Collections
Defined in src/content.config.ts:
- projects — case studies for the Work block (
src/content/projects/) - blog — posts for the Blog block (
src/content/blog/)
Adding a project
Create src/content/projects/my-project.md:
---
title: My Project
description: Short summary for cards and SEO.
date: 2026-01-15
category: Web
tags: [Astro, Tailwind]
featured: true
draft: false
---
Body markdown for the detail page.
Drafts
Set draft: true to exclude from production builds and listings.
Schema
Collection schemas validate frontmatter at build time. Extend content.config.ts when adding fields.