Common Changes
Skill level: Beginner unless marked
Short recipes for the changes agencies ask about most. Each one names the file, the change and what to check. Make every content change in the English, French and Arabic folders, and keep npm run dev running to see it.
Change A Listing’s Price
File: src/content/properties/<language>/<listing>.md
status: "sale" # sale | rentprice: 1890000 # sale price, or the monthly rent for a rental, as a plain numberWrite the price without a currency sign or commas. The theme formats it for each language and adds “/mo” to rents. Set the same number in all three language files. Check: the listing page, its card on /properties/, and the home pages that show it. If the home is the featured card in the Properties menu, update the typed price there too (see below).
Mark A Home Under Contract, Or Take It Down
File: the listing’s file in each language folder
badge: "Under contract" # extra chip, as written: New | Under contract | Lease pendingThe badge is a chip on the card and the page, next to “For sale” or “For rent”. When the home is gone, set draft: true to keep the file but take the listing off the site, or delete the file in every language folder. Either way it also leaves the neighborhood and agent pages. See Properties.
Change Your Phone, Email Or Address
File: src/config/config.toml, [business]
[business] phone = "+15550100199" # E.164: + country code, digits only (tel: links) phoneDisplay = "(555) 010-0199" # how the number is shownThe header, footer, contact page, forms, llms.txt and the structured data all read these. Check: the phone number in the header and /contact/. See Business Info.
Change Opening Hours
File: src/config/config.toml, [business.hours]
[business.hours] mon = "09:00-18:00" sat = "10:00-16:00" sun = "" # empty = closedUse 24-hour HH:MM-HH:MM. Split days use a comma: "09:00-12:00,13:00-17:00". Check: /contact/ and the strip above the header on Home 3.
Change The Main Header Button
Files: src/config/config.toml, src/i18n/<language>.json
[settings.navigationButton] enable = true label = "" # empty: navigation.buttonLabel in each src/i18n/<language>.json url = "/valuation/"The button ships as “Book a valuation”. Change its text in navigation.buttonLabel of each language file, or point it somewhere else with url. It hides itself on the page it links to. See Header.
Update The Featured Card In The Properties Menu
File: src/config/menu.<language>.json, the featured block of the Properties item
"featured": { "enable": true, "label": "Featured listing", "image": "/images/lotline/properties/elm-hill-modern-villa/cover.jpg", "title": "Five-bedroom villa with city views", "price": "$1,920,000", "url": "/properties/elm-hill-modern-villa/", "linkLabel": "View the home"}The title and price here are typed text, not read from the listing. Change them when the home sells or its price changes, in every language. Set "enable": false to drop the card. See Menus.
Remove A Demo Homepage(light code)
To drop /home-2/ (or /home-3/), delete src/pages/[...lang]/home-2.astro, delete home-2.md from each folder in src/content/homepage/, and remove its link from the Homepages group of the Company menu in every menu.<language>.json. /elements/ also mentions it, so check that page if you keep it. See Homepages.
Hide A Section
Everywhere: set enable: false at the top of its file in src/content/sections/<language>/. On one page: add its block to that page’s file with enable: false, for example:
reviewsSection: enable: falseChange The Homepage Hero Text Or Photo
File: src/content/sections/english/hero-section.md (and the other languages), or the heroSection block of a homepage file
title: "Find your next home with a *local* agent" # the word in *stars* gets the accent fontdescription: "We list houses and apartments across six neighborhoods."image: "/images/lotline/heroes/home-1.jpg" # full-bleed photo, 16:9 or wider, at least 2560 px wideThe search box sends visitors to /properties/ with their keyword and Buy or Rent choice. Its labels are under search: in the same file.
Change A Layout
Set options.layout in the section’s file, or in a page’s block, to one of the values its comment lists:
listingsSection: options: layout: "grid" # grid | carousel | tabs/elements/ shows every layout. See Section Layouts.
Button Options
Buttons in content files share the same fields:
button: enable: true label: "Book a viewing" url: "/properties/" variant: "accent" # accent | brand | outline | white | outline-white | text hoverEffect: "text-flip" # "" | text-flip icon: enable: true name: "ArrowRight" position: "right" # left | rightaccent is the lime main action, brand is pine with a white label, and white and outline-white are for pine panels and photos. A link to another site opens in a new tab.
Turn On The Announcement Bar
File: src/content/sections/english/announcement-bar.md (and the other languages)
enable: trueid: "saturday-hours" # change it when the message changes, so people who closed the old one see the new onetext: "Our rentals office is now open on **Saturdays**, 10 AM to 4 PM."start: "" # optional first day, YYYY-MM-DDend: "" # optional last day, YYYY-MM-DDhideOn: ["/contact/"] # pages where the bar stays hiddentone: "ink" # ink | mistIt ships off. Replace the sample text before you turn it on. Visitors can close it, and the browser remembers that.
Change The Currency Or Area Unit
File: src/config/config.toml
[listings] currency = "EUR" areaUnit = "m²" maxPricesSale = [300000, 500000, 750000, 1000000] # the "Max price" steps in the search maxPricesRent = [1000, 1500, 2000, 3000]
[settings.currency] code = "EUR" # salaries and structured data: keep it the same as [listings] currencyThe area number in each listing is read in the unit you set, so convert the numbers if you switch from square feet to square meters. See Listing Search & Filters.
Change The 404 Page
File: src/content/sections/english/not-found-section.md (and the other languages): the title, the text, and two buttons (primaryButton, secondaryButton). The sample sends people to the homepage and to /properties/, which suits a listing that has sold.
Change The Number Of Posts Per Page
blogPagination in [settings] of config.toml (6 by default). For listings, propertiesPerPage in [listings] (0 shows every home on one page, so the filters see them all).
Hide A Page Without Deleting It
Add draft: true to its frontmatter in every language. It leaves the site, its lists, the sitemap and llms.txt. Remove any menu link to it, or the link will lead to the 404 page.
Replace The Theme Name And Sample Brand
titleandlogoTextin[site]ofconfig.toml: your agency name.seo.tagline,seo.siteDescription,seo.keywordsandai.siteSummaryin eachsrc/i18n/<language>.json. They ship describing the theme.- The logo mark: see Site Identity & Logo.
- Then run
npm run generate-faviconsandnpm run generate-og-image.
The footer line “Built on the Lotline Astro theme by Getastrothemes” is [settings.themeCredit]. We’d appreciate it if you keep it, and you can turn it off with enable = false.
Change Wording That Isn’t In Any Content File
Button labels, filter names, form messages, “For sale”, “/mo” and other small text live in src/i18n/<language>.json. Search that file for the words you see on the page, change the value in every language, and keep the key. Run npm run check-i18n afterwards.
Do It With AI
In my Lotline site, [DESCRIBE THE CHANGE]. Find the file that holds it (content files insrc/content/, settings in src/config/config.toml, labels in src/i18n/), make the change in theEnglish, French and Arabic versions, and keep every key and comment. Then run npm run astro-checkand tell me which page to open to see it.