Attorneys
Attorney content is stored in src/content/attorneys. The theme uses that collection to render the attorney listing and individual attorney profile pages.
Related Files
Section titled “Related Files”src/content/attorneyssrc/pages/attorneys/index.astrosrc/pages/attorneys/[slug].astrosrc/layouts/AttorneyLayout.astrosrc/components/cards/AttorneyCard.astrosrc/assets/images/attorneyssrc/content.config.ts
How It Works
Section titled “How It Works”The index page queries attorney entries and renders cards. The dynamic [slug].astro route generates one profile page per attorney. AttorneyLayout.astro controls the profile page structure. AttorneyCard.astro controls listing cards.
Slugs usually come from file names or explicit content IDs depending on the content collection setup. Check src/content.config.ts for the exact rule.
Portrait images belong in src/assets/images/attorneys when they are imported and optimized.
Related Practice Areas
Section titled “Related Practice Areas”If attorney entries reference practice areas, keep references aligned with the actual practice-area slugs. Invalid references can cause broken links or build errors if the schema validates them.