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

Make Lotline 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 agency site needs, in order. Each step names one 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.

  1. Name your site and set its address

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

    [site]
    title = "Harbor & Hill Realty"
    baseUrl = "https://www.your-domain.com"
    logoText = "Harbor & Hill"
    • title is your brand name. The footer copyright and the structured data use it. The homepage’s browser title comes from metaTitle in src/content/homepage/english/-index.md, so change it there too.
    • baseUrl is your live address. The theme ships with the placeholder https://example.com, and npm run build prints a [site] warning until you change it. Canonical links, the sitemap, robots.txt, RSS feeds, llms.txt, and social previews all use it.
    • The tagline added to every page title and the default description are per language: seo.tagline and seo.siteDescription in src/i18n/<language>.json. A tagline or description set in [site] is used for every language instead.

    Details: Config Reference.

  2. Add your agency details

    Your agency details live in one place, [business] in the same file. The header, footer, contact page, forms, structured data, and llms.txt all read them:

    [business]
    name = "" # empty uses site.title
    type = "RealEstateAgent" # RealEstateAgent | LocalBusiness | ProfessionalService
    [business.address]
    show = true # false hides the street and postal code everywhere
    street = "12 Example Road, Suite 4"
    locality = "Your Town"
    region = "ST"
    postalCode = "00000"
    country = "US"

    Every value marked # sample in the file is a placeholder. The shipped email is [email protected]. Details: Agency Details.

  3. Set your phone number and opening hours

    Still in [business]:

    [business]
    phone = "+15550100199" # digits with country code, for tap-to-call links
    phoneDisplay = "(555) 010-0199" # how the number is shown
    [business.hours]
    mon = "09:00-18:00"
    sat = "10:00-16:00"
    sun = "" # empty = closed

    The shipped number is a made-up 555 number, so replace it. Leave phone empty to hide every call link. Hours use the 24-hour clock, and "09:00-12:00,13:00-18:00" gives a lunch break. A wrong value prints a [business] warning in the terminal and is ignored, so watch the terminal after you save.

  4. Set your currency and area unit

    The [listings] block decides how every price and floor area is written:

    [listings]
    currency = "USD" # also used for development "from" prices and rents
    areaUnit = "sq ft" # or "m²"
    maxPricesSale = [400000, 600000, 800000, 1000000, 1500000, 2000000]
    maxPricesRent = [1250, 1500, 2000, 2500, 3000, 4000] # monthly rent

    The two maxPrices lists are the steps in the “Max price” menus on /properties/ and in the home searches. Set them to prices that make sense in your market. Salaries on job pages use [settings.currency], so set its code to the same currency. Details: Listing Search & Filters.

  5. Replace the sample listings

    Each home is one file in src/content/properties/english/, with the same file name in french/ and arabic/. The 12 shipped homes are made up. Open one and change its facts:

    title: "Three-bedroom house with a garden"
    status: "sale" # sale | rent
    type: "house" # house | apartment | townhouse | villa | penthouse | studio
    price: 640000 # a plain number, the monthly rent for rentals
    beds: 3
    baths: 2
    area: 1850 # in your areaUnit
    neighborhood: "elm-hill" # file name in src/content/neighborhoods/
    agent: "daniel-hart" # file name in src/content/agents/
    image: "/images/lotline/properties/your-home/cover.jpg"

    The text under the frontmatter is the description. Rename the file to change the page address. Then do the same for the agents in src/content/agents/ and the neighborhoods in src/content/neighborhoods/, because listings point at them by file name. Details: Properties, Agents, and Neighborhoods.

  6. Set your brand colors

    Open src/styles/theme.css. The two colors that carry the brand are near the top of the :root block:

    :root {
    --theme-brand: #18383a; /* deep pine: dark panels, buttons, links, icons */
    --theme-accent: #d2f04a; /* key lime: fills under dark text */
    }

    Change their -hover shades next to them too. Keep the accent light enough for dark text on top of it. Details: Colors & Fonts.

  7. Add your logo

    Lotline draws a built-in mark next to logoText. To use your own logo file instead, put it in public/ or src/assets/images/ and set it in [site]:

    [site]
    logo = "/images/my-logo.svg"
    logoText = "" # empty if your logo already has the name in it
    logoWidth = "116px"
    logoHeight = "28px"

    Then set [site.favicon] image to a square version of your logo and run npm run generate-favicons. Details: Site Identity & Logo.

  8. Connect the forms

    The viewing, inquiry, valuation, contact, and job forms all post to one address in config.toml. Until you change it, the dev server shows a warning inside each form, and npm run dev and npm run build print a [forms] line:

    [settings]
    contactFormAction = "https://formsubmit.co/[email protected]"
    contactFormProvider = "formsubmit.co" # formsubmit.co | formspree | netlify

    The newsletter row in the pine footer needs your Mailchimp address in formAction under [settings.subscription]. Details: Forms.

  9. Replace the photos

    The demo photos are in src/assets/images/lotline/, one folder per kind (heroes/, properties/<listing>/, agents/, areas/, services/, blog/, and so on). Content files point at them with paths that start with /images/lotline/:

    image: "/images/lotline/areas/elm-hill.jpg"
    imageAlt: "Your own description of the photo"

    Put your own photo in a folder there and change the path and the alt text, in every language folder. A path that points at a missing file shows nothing, so check the page after you change one. 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. Read the yellow lines in the build output: [site] means baseUrl is still the placeholder (step 1), [forms] means a form still posts to a placeholder (step 8), and [business] means a value in [business] could not be read (steps 2 and 3). Then follow the Deployment guide, which has the full launch checklist.

What Next?

  • Pick your homepage: Lotline has three (/, /home-2/, /home-3/). See Homepages.
  • Only need English? See Internationalization.
  • Update the Properties mega menu, including its featured listing card: Menus.
  • Replace your services and their fee lines, and set up the valuation page: Services & Valuation.
  • Add your own developments, or remove the page if you don’t sell new builds: New Developments.
  • Replace the demo content page by page: Pages lists every page and its file.
  • Try the other layouts of your sections: Section Layouts.
  • Let an AI assistant do the repetitive work: Prompt Library.
Type something to search...