Adding an Attorney
Before adding a file, open src/content.config.ts and confirm the attorney schema. The example below is a safe pattern, not a guaranteed copy of the commercial theme schema.
- Add the portrait image to
src/assets/images/attorneys. - Create a new Markdown file in
src/content/attorneys. - Use a clear lowercase slug, such as
jordan-ellis.md. - Fill in frontmatter fields required by the actual schema.
- Add profile body content.
- Run
npm run buildto validate the entry.
Example only:
---name: Jordan Ellistitle: Partnerportrait: ../../assets/images/attorneys/jordan-ellis.webpemail: jordan@examplelegal.comphone: '+1 (555) 010-1200'practiceAreas: - business-law - litigationfeatured: trueorder: 3---
Jordan Ellis advises founders, executives, and closely held companies on business disputes and commercial agreements.If the build fails, compare the frontmatter with src/content.config.ts. Required fields, image handling, and references must match the actual schema.