Notes on content collections
A short development note about structuring portfolio content so new posts and projects stay easy to add.
Content collections pay off when the schema matches how you actually write.
Schema tips
- Keep required fields few
- Make optional fields truly optional in the UI
- Prefer enums for status and category values you query often
Workflow
- Add a markdown file
- Fill frontmatter
- Write the body
- Let the site regenerate routes
That should be the entire publishing loop for most entries.