Skip to content

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.

  1. Add the portrait image to src/assets/images/attorneys.
  2. Create a new Markdown file in src/content/attorneys.
  3. Use a clear lowercase slug, such as jordan-ellis.md.
  4. Fill in frontmatter fields required by the actual schema.
  5. Add profile body content.
  6. Run npm run build to validate the entry.

Example only:

---
name: Jordan Ellis
title: Partner
portrait: ../../assets/images/attorneys/jordan-ellis.webp
email: jordan@examplelegal.com
phone: '+1 (555) 010-1200'
practiceAreas:
- business-law
- litigation
featured: true
order: 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.