Properties
Files: src/content/properties/<language>/, photos in src/assets/images/lotline/properties/ · Skill level: Beginner
Every home you list is one Markdown file. The file holds the price, the facts, the photos and the description, and Lotline builds the rest from it: the card in the listings sections, the property page, the filters on /properties/, the homes on the agent’s profile and the neighborhood guide, and the structured data search engines read.

The demo has 12 sample listings, 7 for sale and 5 for rent. The homes, streets and prices are made up.
A Listing File
---title: "Five-bedroom villa with city views"description: "A five-bedroom villa finished in 2021, set high on Ridgeway Drive..."status: "sale" # sale | renttype: "villa" # house | apartment | townhouse | villa | penthouse | studioprice: 1920000 # sale price in [listings] currencypriceNote: "Guide price"beds: 5 # 0 = studiobaths: 4area: 4300 # floor area in [listings] areaUnitlotSize: "0.6 acre"parking: 3yearBuilt: "2021"neighborhood: "elm-hill" # file name in src/content/neighborhoods/agent: "daniel-hart" # file name in src/content/agents/address: "Ridgeway Drive, Elm Hill" # street and neighborhood onlyfeatured: truedate: 2026-10-30 # listed onimage: "/images/lotline/properties/elm-hill-modern-villa/cover.jpg"imageAlt: "Villa and pool patio at dusk"gallery: - image: "/images/lotline/properties/elm-hill-modern-villa/gallery-1.jpg" alt: "Living and dining room with glass walls to the patio"features: - "City views from the living room and main bedroom"draft: false---
Glass doors run the length of the living room and open onto the patio...The text under the frontmatter is the description on the property page. description is the lead line at the top of the page and the meta description.
| Field | Type | What it does |
|---|---|---|
title (required) | text | The name on the card and the page, such as "Three-bedroom townhouse on the river path" |
status | sale | rent | For sale or for rent. Sets the chip, the filters, and how the price reads |
price | number | The sale price, or the monthly rent for rent. A plain number with no symbol or commas, in the currency of [listings] |
priceNote | text | The label over the price in the facts grid, such as "Guide price" |
badge | text | A second chip next to the status, as written: "New", "Under contract", "Lease pending" |
type | house | apartment | townhouse | villa | penthouse | studio | The type filter and the type fact |
beds | whole number | Bedrooms. 0 shows “Studio” |
baths | number | Bathrooms. 2.5 works |
area | number | Floor area, in the unit of [listings] areaUnit |
lotSize, yearBuilt | text | Facts as written, such as "0.2 acre" or "1912 (converted 2018)" |
parking | whole number | Parking spaces. 0 shows “None” |
availableFrom | text | For rentals, as written: "Available now", "From March 1" |
neighborhood | neighborhood id | The file name of a neighborhood. Links the home to its guide and the area card on the page |
agent | agent id | The file name of an agent. Shows their contact card on the page and the home on their profile |
address | text | Street and neighborhood, never a house number. Used for the “See on map” link |
featured | true/false | Shown in listings sections that use source: "featured", and listed first |
date | date | The day it was listed. The default sort on /properties/ is newest first |
image, imageAlt | image path, text | The cover photo (3:2) on the card and the page band |
gallery | list of image, alt | The photos on the page, opened in a lightbox |
floorPlan | image path | An optional floor plan under the description |
features | list of text | Key features, shown as check rows under the description |
facts | list of label, value | Extra rows for the facts grid, such as { label: "Heating", value: "Gas" } |
draft | true/false | Hides the listing everywhere |
The sample prices and areas are marked # sample. Prices are plain numbers so the filters and the sort can compare them. The currency symbol, the thousands separator and the “/mo” after a rent come from [listings] and the page language. See Listing Search.
Photos
Each listing has its own photo folder named after the file:
src/assets/images/lotline/properties/elm-hill-modern-villa/ cover.jpg ← image: (3:2, the card and the page band) gallery-1.jpg ← gallery: gallery-2.jpg gallery-3.jpgContent files point at them as /images/lotline/properties/<file name>/<photo>.jpg. Lotline resizes and compresses every photo at build time, so upload the largest good copy you have. A photo path that points at a missing file shows nothing and gives no error, so open the page after you add photos.
Write an alt for every gallery photo that says what the room is (“Main bedroom with floor-to-ceiling windows”). The lightbox shows it as the caption.
The demo photos are placeholders from Unsplash. Replace them with your own photos of your listings before you launch.
The Property Page
/properties/<file name>/ shows, top to bottom:
- A tall photo band with the cover photo, the title, the status and badge chips, the price and the address.
- The lead and the facts grid:
description, the Markdown copy and Ask AI links, then one card per fact (price, type, bedrooms, bathrooms, floor area, lot size, parking, year built, listed on, available from, and your ownfacts). A fact you leave empty is skipped. - The gallery: the first photo full width, the rest two to a row. Each photo opens the lightbox, with previous and next buttons, arrow keys and Esc.
- About this home: the Markdown body, the key features, and the floor plan.
- The area and the agent: a card for the neighborhood with a link to its guide and a “See on map” link, beside the listing agent’s card with their phone, email and a link to their profile.
- The viewing form, which also sends the listing’s title so you know which home it’s about.
- Similar homes: three other listings, picked by the same status first, then the same neighborhood, then the same type.
- The call to action band.
The viewing form is the enquirySection block of src/content/properties/english/-index.md. Its title, text, fields and messages apply to every property page. See Forms for where the messages go.
The property page reads no pageHeader block: its band always uses the cover photo.
Structured Data
Each property page carries RealEstateListing data with the title, the description, the cover photo, the date listed, the price and currency (a monthly price for rentals), the bedrooms, bathrooms and floor area, and the street from address. /properties/ carries a list of every listing. See SEO & AI Visibility.
Add A Listing
- Copy a listing of the same status, for example
src/content/properties/english/riverside-townhouse.md, and rename it. Use the address or a short description, in lowercase with dashes: the file name is the URL. - Make a photo folder with the same name in
src/assets/images/lotline/properties/and put the cover and gallery photos in it. - Fill in the fields. Check that
neighborhoodandagentare file names that exist. - Set
dateto the day you list it, andfeatured: trueif it should show on the homepages. - Copy the file into
french/andarabic/with the same name and translate the text. Keep the numbers the same. - Run
npm run astro-check, then open the page.
When A Home Sells Or Lets
- Under offer: set
badge: "Under contract"(or"Lease pending"). The home stays in the filters. - Sold or let: set
draft: truein every language, or delete the file and its photo folder. - The Properties menu: if the home is the featured card in the Properties menu, change the card in each
src/config/menu.<language>.json. Its price and title there are typed text. See Menus.
A link to a page that no longer exists goes to the 404 page, so check the homepages and your blog posts for links to the old listing.
Do It With AI
Add a new listing to my Lotline site: [STATUS sale or rent], [TYPE], [PRICE], [BEDS] beds,[BATHS] baths, [AREA] [UNIT], in the [NEIGHBORHOOD] neighborhood, listed by [AGENT]. Address(street only): [STREET]. Description: [TEXT]. Key features: [LIST].Copy src/content/properties/english/riverside-townhouse.md to a new file named after the home,fill in my values, and use file names that exist in src/content/neighborhoods/ andsrc/content/agents/. Point image and gallery at src/assets/images/lotline/properties/<file name>/,where I put [N] photos. Create the French and Arabic files with the same name and the same numbers,then run npm run astro-check.