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.
-
Name your site and set its address
Open
src/config/config.tomland edit the[site]block:[site]title = "Harbor & Hill Realty"baseUrl = "https://www.your-domain.com"logoText = "Harbor & Hill"titleis your brand name. The footer copyright and the structured data use it. The homepage’s browser title comes frommetaTitleinsrc/content/homepage/english/-index.md, so change it there too.baseUrlis your live address. The theme ships with the placeholderhttps://example.com, andnpm run buildprints 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.taglineandseo.siteDescriptioninsrc/i18n/<language>.json. Ataglineordescriptionset in[site]is used for every language instead.
Details: Config Reference.
-
Add your agency details
Your agency details live in one place,
[business]in the same file. The header, footer, contact page, forms, structured data, andllms.txtall read them:[business]name = "" # empty uses site.titletype = "RealEstateAgent" # RealEstateAgent | LocalBusiness | ProfessionalService[business.address]show = true # false hides the street and postal code everywherestreet = "12 Example Road, Suite 4"locality = "Your Town"region = "ST"postalCode = "00000"country = "US"Every value marked
# samplein the file is a placeholder. The shipped email is[email protected]. Details: Agency Details. -
Set your phone number and opening hours
Still in
[business]:[business]phone = "+15550100199" # digits with country code, for tap-to-call linksphoneDisplay = "(555) 010-0199" # how the number is shown[business.hours]mon = "09:00-18:00"sat = "10:00-16:00"sun = "" # empty = closedThe shipped number is a made-up
555number, so replace it. Leavephoneempty 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. -
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 rentsareaUnit = "sq ft" # or "m²"maxPricesSale = [400000, 600000, 800000, 1000000, 1500000, 2000000]maxPricesRent = [1250, 1500, 2000, 2500, 3000, 4000] # monthly rentThe two
maxPriceslists 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 itscodeto the same currency. Details: Listing Search & Filters. -
Replace the sample listings
Each home is one file in
src/content/properties/english/, with the same file name infrench/andarabic/. The 12 shipped homes are made up. Open one and change its facts:title: "Three-bedroom house with a garden"status: "sale" # sale | renttype: "house" # house | apartment | townhouse | villa | penthouse | studioprice: 640000 # a plain number, the monthly rent for rentalsbeds: 3baths: 2area: 1850 # in your areaUnitneighborhood: "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 insrc/content/neighborhoods/, because listings point at them by file name. Details: Properties, Agents, and Neighborhoods. -
Set your brand colors
Open
src/styles/theme.css. The two colors that carry the brand are near the top of the:rootblock::root {--theme-brand: #18383a; /* deep pine: dark panels, buttons, links, icons */--theme-accent: #d2f04a; /* key lime: fills under dark text */}Change their
-hovershades next to them too. Keep the accent light enough for dark text on top of it. Details: Colors & Fonts. -
Add your logo
Lotline draws a built-in mark next to
logoText. To use your own logo file instead, put it inpublic/orsrc/assets/images/and set it in[site]:[site]logo = "/images/my-logo.svg"logoText = "" # empty if your logo already has the name in itlogoWidth = "116px"logoHeight = "28px"Then set
[site.favicon] imageto a square version of your logo and runnpm run generate-favicons. Details: Site Identity & Logo. -
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, andnpm run devandnpm run buildprint a[forms]line:[settings]contactFormProvider = "formsubmit.co" # formsubmit.co | formspree | netlifyThe newsletter row in the
pinefooter needs your Mailchimp address informActionunder[settings.subscription]. Details: Forms. -
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.
-
Check, build, and deploy
Stop the dev server and run:
Terminal window npm run astro-checknpm run buildFix anything
astro-checkreports. Read the yellow lines in the build output:[site]meansbaseUrlis 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.