Core Concepts
Astro Content Collections
Broslunas CMS is designed to natively understand the structure of your Astro Content Collections. You don't need to adapt your project for us.
Expected Structure
The system automatically looks for the src/content folder at the root of your linked repositories.
Directory Structure
src/
content/
config.ts// Zod definition of Collections
blog/(Collection)
post-1.md
post-2.mdx
authors/(Collection type 'data')
user.json
Supported Formats
Markdown / MDX
Full support for YAML Frontmatter. MDX content is treated as rich text.
JSON
For collections with type: 'data'. Ideal for global configurations, menus, or lists of authors.