Learn how to use Astro Content Collections to manage projects, posts, experiences, and books in your portfolio
Content Collections are Astro’s built-in way to organize and type-safe validate your content. This template uses four distinct collections to power different sections of your portfolio.
---slug: "portfolio"title: "Portfolio"description: "My portfolio website. You are viewing this only."startDate: 2025-03-16image: { url: "/portfolio.png", alt: "Portfolio" }tags: ["Astro", "Shadcn UI", "Tailwind CSS"]---# PortfolioThis is my portfolio website built with Astro. It showcases my projects and skills.
---slug: "sde2"title: "Software Development Engineer 2"company: "SaaS Labs"startDate: 2025-04-01tags: [ "Remix", "Typescript", "Tailwind CSS", "ChatGPT Apps SDK", "MCP", "Checkly", "Sentry", ]---<ul> <li> <a href="https://justcall.io/product/ai-voice-agent/" class="font-bold" target="_blank"> AI Voice Agent </a> Architected and built the entire front end for JustCall's AI Voice Agent... </li></ul>
Define strict Zod schemas to catch errors early and get autocomplete in your IDE
Consistent Frontmatter
Always include required fields like title, dates, and descriptions
Meaningful Slugs
Use descriptive slugs that work well in URLs
Add Tags
Use tags to enable filtering and organization across your content
Content Collections provide built-in TypeScript types. After defining your schema, you’ll get full autocomplete and type checking when accessing content data.