Firm Info
Files: src/config/config.toml, src/i18n/<lang>.json, src/content/offices/<language>/, src/config/social.json · Skill level: Beginner
Your firm’s name, phone, email, address, and offices are each set in one place and reused across the site. Change them here first, before you edit page text, and most of the site follows.
| What | Where | Where it shows |
|---|---|---|
| Firm name | [seo] author in config.toml | The meta author and the firm in the structured data |
| Main phone and email | [settings.contactInfo] in config.toml | Header chips and strip, mobile menu, footers, hero and call to action buttons, contact sections, llms.txt |
| Main address | contactInfo.address in src/i18n/<lang>.json | The “Visit us” chip in the panel header, the marquee and columns-light footers, llms.txt |
| Offices | One file per office in src/content/offices/<language>/ | /offices/, each office page, the office strip in the bar header, the offices footer, the office cards on /contact/ |
| Social profiles | src/config/social.json | The icons in the marquee footer and the structured data |
Firm Name
[seo] author = "Covena Law"author is the firm’s legal or trading name. Search engines read it from the structured data on every page, where the site is described as a LegalService with this name. It can differ from [site] title: the title is the short name used in social previews, and author is the full firm name.
The footer description and the copyright line are text in each language: footer.description and footer.copyright in src/i18n/<lang>.json. See Footer.
Phone And Email
[settings.contactInfo] phone = "[+44 20 7946 0321](tel:+442079460321)"Write each one as a Markdown link: the text visitors see in square brackets, then the link in round brackets. For the phone, the link is tel: followed by the full number with the country code and no spaces. A plain value such as "+44 20 7946 0321" also works, and the theme builds the link from it.
These two values feed every place that shows the firm’s main phone or email: the header, the mobile menu, the footers, the “Or call” link in the heroes and the call to action panels, the contact sections, and the contact lines in llms.txt. The labels next to them (“Call us”, “Email us”) are in the section files or under header in src/i18n/<lang>.json.
Address
The main address is text in each language, so it can be written the local way:
"contactInfo": { "address": "48 Carver Street, London EC4A 2BN", "hours": "Mon to Fri, 08:30 to 18:00"}address is used in the “Visit us” chip of the panel header (it links to /offices/), in the marquee and columns-light footers, and in llms.txt. The offices footer shows each office’s own address instead. Change it in en.json, fr.json, and ar.json.
Opening hours are written where they are shown. The contact section has its own line, contactLines.hours in src/content/sections/<language>/contact-split-form.md, and each office lists its hours in its own file. Keep contactInfo.hours in the language files in step with them.
The contact page has three more tiles under its form (“Call us”, “Email us”, “Visit our London office”). They are written out in src/content/contact/<language>/-index.md under contactInfo, so change them there too.
Offices
Each office is one file in src/content/offices/english/ (and french/, arabic/): london.md, manchester.md, and birmingham.md. The file name is the page address, so london.md is /offices/london/.
---title: "London"weight: 1city: "London"description: "The base for our business, disputes, property, intellectual property and employment teams."image: "/images/covena/office/office-reception-lounge.jpg"imageAlt: "Quiet waiting lounge with armchairs and a tall plant"address: "48 Carver Street, London EC4A 2BN"phone: "+44 20 7946 0321"phoneUrl: "tel:+442079460321"mapUrl: "https://www.google.com/maps/search/?api=1&query=48+Carver+Street+London+EC4A+2BN"hours: - "Monday to Friday, 08:30 to 18:00" - "Saturday, 09:00 to 13:00"attorneys: - "daniel-mercer"practiceAreas: - "business-corporate"---| Field | What it does |
|---|---|
title, city | The office name. city is the short name in the header strip and the footer |
weight | Order of the offices, lowest first |
address | The street address on the cards and the office page |
phone, phoneUrl | The number as shown, and its tel: link |
email | The office email |
mapUrl | The Get directions link. The theme has no embedded map, so this opens a maps site |
hours | One line per opening time |
attorneys | File names of the lawyers at this office, from src/content/attorneys/<language>/ |
practiceAreas | File names of the practice areas handled here, from src/content/practice-areas/<language>/ |
The text under the frontmatter is the body of the office page. The labels on every office card and page (“Opening hours”, “Get directions”) are under detailDefaults in src/content/offices/<language>/-index.md.
The offices feed three shared places, so a new or removed office shows up there on its own:
- the strip of city links above the
barheader (Home 2) - the office cards in the
officesfooter (Home 3) - the office cards on
/contact/
To add an office, copy an office file in every language folder, rename it to the new address (for example leeds.md), and change its fields. To remove one, delete its file in every language. Then check the menus in src/config/menu.<lang>.json, which link to /offices/ but not to single offices, and the attorney profiles that name the office.
Social Profiles
src/config/social.json lists the profiles under main. They point at the platforms’ home pages in the demo. Put in your own profile links, or set "enable": false on the ones you don’t use. The enabled links show as icons in the marquee footer and are listed as the firm’s profiles in the structured data.
{ "enable": true, "label": "Linkedin", "icon": "/images/icons/linkedin.svg", "url": "https://www.linkedin.com/company/your-firm"}Structured Data
You don’t write structured data by hand. Every page gets JSON-LD built from the settings above: the page itself, the site with its tagline, and the firm as a LegalService with the name from [seo] author, the logo from [site] logo, and the profiles from social.json. Each attorney profile is a ProfilePage about a Person, with the lawyer’s name, role, and the firm they work for. Set [site] baseUrl before launch, because the links in this data use it.
Do It With AI
Replace the demo firm details with mine. In src/config/config.toml set [seo] author to "[FIRM NAME]"and [settings.contactInfo] phone and email to "[PHONE]" and "[EMAIL]", keeping the Markdown linkformat. Set contactInfo.address to "[ADDRESS]" in every file in src/i18n/. Then update the officefiles in src/content/offices/ (every language folder) to these offices: [OFFICES WITH ADDRESS,PHONE, HOURS]. Keep every field name. Run npm run astro-check when done.