Skip to content
New: Customize your theme with an AI assistant. Read the guide

Make Covena Yours In 30 Minutes

Skill level: Beginner · Time: 30 minutes · You need: the site running with npm run dev (Installation)

This page walks through the ten changes almost every firm’s site needs, in order. Each step names the file and the lines to edit, and links to the page with the details. Save the file and the browser shows the change, config.toml included.

The steps show the English files. Each language has its own copy (english, french, arabic folders and en.json, fr.json, ar.json), so repeat a change in the other languages, or remove the languages you don’t need first (Internationalization).

  1. Name your site and set its address

    Open src/config/config.toml and edit the [site] block:

    [site]
    title = "Your Firm"
    description = "Solicitors in Leeds for family, property, and employment matters."
    tagline = "Solicitors in Leeds"
    baseUrl = "https://www.your-domain.com"
    logoText = "Your Firm"
    • tagline is added to every page title in your default language (<page> - <tagline>). Other languages use common.tagline in src/i18n/<lang>.json, so change it there too. The site description in each language comes from common.siteDescription in the same files.
    • baseUrl is your live address. It ships empty, and npm run build prints a [site] warning until you set it. Canonical links, the sitemap, RSS feeds, llms.txt, and social previews all use it.
    • logoText is the name next to the logo mark in the header and footers.

    Details: Site Identity & Logo and Config Reference.

  2. Add your firm’s details

    In the same file, set the firm name search engines see, and your main phone and email:

    [seo]
    author = "Your Firm Solicitors"
    [settings.contactInfo]
    phone = "[+44 113 496 0000](tel:+441134960000)"

    Each value is a Markdown link: the text in square brackets is what visitors see, and the part in brackets is the link. The header chips, the footers, and the call links in the heroes use them.

    Then open src/i18n/en.json and change the main address under contactInfo. Details: Firm Info.

  3. Replace the sample offices

    Each office is one file in src/content/offices/english/: london.md, manchester.md, and birmingham.md. The file name is the page address (/offices/london/). Change title, city, address, phone and phoneUrl, email, hours, and mapUrl in each, and the attorneys and practice areas listed under it, rename or delete the files you don’t need, and do the same in the french and arabic folders. The office cities in the bar header (Home 2) and the offices footer (Home 3) come from these files. Details: Firm Info.

  4. Fill in your regulator

    Open src/content/pages/english/regulatory-information.md and replace every value in square brackets, such as [Regulator], [000000], and [Regulator website], with your regulator, your number, and a link to its rules. The French and Arabic files have their own bracketed placeholders, so search each one for [.

  5. Set your brand colors

    Open src/styles/theme.css. The brand colors are at the top:

    --color-navy: #14295E;
    --color-navy-hover: #1E3A7E;
    --color-bronze: #B4864F;
    --color-bronze-deep: #85602F;

    Change the hex values and every component follows. Keep enough contrast between text and its background. Details: Colors & Fonts.

  6. Add your logo

    The logo is a “C” mark drawn in src/layouts/components/global/Logo.astro, followed by logoText. To keep the layout and change only the shape, replace the mark’s SVG path in that file. To use your own logo file instead, follow Site Identity & Logo. Then make the favicons from your mark:

    Terminal window
    npm run generate-favicons
  7. Connect the forms

    While contactFormAction is empty, every form runs in demo mode: it checks the fields, then tells the visitor nothing was sent. Point it at a form service you control:

    [settings]
    contactFormAction = "https://formspree.io/f/your-form-id"
    contactFormProvider = "formspree"

    This covers the contact, consultation, callback, and job application forms. The newsletter forms use Mailchimp and have their own formAction. Details: Forms.

  8. Replace the sample lawyers, results, and reviews

    The attorneys, results, reviews, the 4.9 rating, the awards, the press mentions, and the fees are made up. Replace them or delete them:

    • Attorneys: one file each in src/content/attorneys/english/ (Collections)
    • Results and reviews: src/content/results/english/ and src/content/reviews/english/-index.md (Results & Reviews)
    • Fees: src/content/fees/english/-index.md (Fees)

    Don’t publish a review, rating, or award you can’t back up, and keep the disclaimer the results show.

  9. Replace the photos

    The demo photos are in src/assets/images/covena/, grouped in folders, and content files point at them as /images/covena/<folder>/<file>. Put your photo in the same folder, change the path in the content file, and update the imageAlt next to it. Keep the same aspect ratio as the photo you replace, or the crop changes. Details: Icons & Images.

  10. Check, build, and deploy

    Stop the dev server and run:

    Terminal window
    npm run astro-check
    npm run build

    Fix anything astro-check reports. If the build prints a yellow [site] line, baseUrl is still empty (step 1). Then follow the Deployment guide, which has the full launch checklist.

What Next?

  • Pick your homepage: Covena has three (/, /home-corporate/, /home-family/). See Homepages.
  • Only need English? See Internationalization.
  • Point the header button and menus at your pages: Header and Menus.
  • Decide where the quick exit button shows and where it goes: Quick Exit.
  • Replace the demo content page by page: Pages lists every page and its file.
  • Let an AI assistant do the repetitive work: Prompt Library.
Type something to search...