New Developments
Files: src/content/developments/<language>/ · Skill level: Beginner
A development is a new-build project you sell for its builder: an apartment building, a row of townhouses, converted lofts. Each one is a file with the number of homes, the completion date and the starting price, and gets its own page with an sign-up form. The demo has three: The Orchard Residences, Quayside Lofts and Parkline Terraces.

Developments are not listings. They don’t appear in the /properties/ filters, and they have no bedrooms or floor area. If you also sell single homes inside a development, add each one as a listing in Properties.
A Development File
---title: "The Orchard Residences"description: "Forty-eight apartments going up on the site of the old orchard nurseries..."neighborhood: "cedar-park" # file name in src/content/neighborhoods/homes: "48 apartments, 1 to 3 bedrooms"status: "Now selling" # label as writtencompletion: "Fall 2027"priceFrom: 395000 # in [listings] currencyagent: "marcus-lin" # sales contact, file name in src/content/agents/image: "/images/lotline/developments/the-orchard-residences.jpg"imageAlt: "Nine-story apartment building with yellow balconies, still being finished"gallery: [] # optional [{ image, alt }]highlights: - "Facing the park's north lawn" - "Balcony or patio with every home"order: 1draft: false---
The development is one nine-story building with a shared garden behind it...| Field | Type | What it does |
|---|---|---|
title (required) | text | The development’s name |
description | text | The lead line on the page and on its row in the developments section |
neighborhood | neighborhood id | Where it is. The page lists homes for sale in the same neighborhood |
homes | text | The homes it has, as written: "18 townhouses, 3 and 4 bedrooms" |
status | text | A label as written: "Now selling", "Launching soon", "Last homes" |
completion | text | When it’s finished, as written: "Spring 2028" |
priceFrom | number | The lowest price, in the currency of [listings]. Shown as “From $395,000” |
agent | agent id | The sales contact. Their card sits beside the sign-up form |
image, imageAlt | image path, text | The photo on the row and in the page band |
gallery | list of image, alt | More photos on the page, opened in a lightbox. Empty hides the gallery |
highlights | list of text | Short check rows under the text |
order | number | Position everywhere (lowest first) |
| Named blocks | ctaSection for this page only |
The text under the frontmatter is the longer description on the page. homes, status and completion are plain text, so write them the way you’d say them to a buyer.
The Development Page
/developments/<file name>/ shows, top to bottom:
- A tall photo band with the name, the status, the “from” price and the neighborhood.
- The lead and four facts: homes, completion, prices from, status.
- The gallery, when
galleryhas photos. - The text and the highlights.
- Homes for sale nearby: up to three listings for sale in the same neighborhood, with a line that says they aren’t part of the development. When there are none, a “Plans and prices on request” box links to the form.
- The sign-up form, titled “Join the interest list” in the demo, beside the sales agent’s card. The form also sends the development’s name.
- The call to action band, from the file’s own
ctaSectionor else the one in-index.md.
The sign-up form is the enquirySection block of src/content/developments/english/-index.md, in the card layout. Its title, fields (name, email, phone, bedrooms, message) and messages apply to every development page. anchor: "register" lets any button link to the form with #register.
The Developments Page And Section
/developments/ shows every development as a row: the photo on one side, the name, the neighborhood, the facts and a “View development” link on the other, with the photo side alternating. The developments home (/home-2/) shows the same rows.
title: "New *developments* we're selling"link: enable: true label: "All developments" url: "/developments/"ids: [] # file names in the order to show; empty = every one by `order`limit: 0 # 0 = every developmentbutton: "View development" # the link on each rowOn /developments/, the developmentsSection block in -index.md sets the intro over the rows and turns the “All developments” link off, since it would point at the same page.
Add A Development
- Copy
src/content/developments/english/parkline-terraces.mdand rename it after the development. - Put its photo in
src/assets/images/lotline/developments/and pointimageat it as/images/lotline/developments/<photo>.jpg. - Fill in the fields. Check that
neighborhoodandagentare file names that exist. - Set
orderto place it among the others. - Copy the file into
french/andarabic/with the same name, translate the text, and keeppriceFromthe same. - Run
npm run astro-check.
When a development sells out, change status to something like "Sold out", or set draft: true in every language to take it down. The Properties menu links to /developments/, so remove that link too if you stop selling new-builds. See Menus.
Do It With AI
Add a new development to my Lotline site: [NAME] in the [NEIGHBORHOOD] neighborhood,[HOMES, e.g. "24 apartments, 1 and 2 bedrooms"], status "[STATUS]", completion [DATE],prices from [PRICE], sales contact [AGENT]. Highlights: [LIST]. Description: [TEXT].Copy src/content/developments/english/parkline-terraces.md to a new file named after it, fill inmy values, use file names that exist in src/content/neighborhoods/ and src/content/agents/, thencreate the French and Arabic files with the same name and run npm run astro-check.