Services & Valuation
Files: src/content/services/<language>/, src/content/pages/<language>/valuation.md, src/content/sections/<language>/valuation-section.md · Skill level: Beginner
The services are what your agency does for clients. The demo has six: buying, selling, renting, property management, valuations and relocation. Each one is a file with what it includes, how it works, what it costs and common questions, and gets its own page.
The valuation page (/valuation/) is where owners ask an agent to visit and price their home. It’s a request form, not a calculator: the visitor books a visit, and your agent sends a figure afterwards.
A Service File

---title: "Selling"description: "We value your home, then handle the viewings and offers until the sale closes."summary: "A price based on real sales nearby, then we handle the viewings and offers." # card linefeeNote: "From 1.25% of the sale price" # fee line as writtenimage: "/images/lotline/services/selling.jpg" # 4:3imageAlt: "An agent photographing a living room"includes: - "Free valuation visit" - "Professional photos and a floor plan"steps: # how it works, in order - title: "Valuation" text: "An agent visits and sends a written asking price within two business days."faq: - question: "When do I pay your fee?" answer: "Only when the sale closes. If the home doesn't sell, you don't pay."button: # under the fee box; enable: false hides it enable: true label: "Book a valuation" url: "/valuation/" variant: "brand"order: 2 # lowest firstdraft: false---
It starts with a visit. An agent looks around your home...| Field | Type | What it does |
|---|---|---|
title (required) | text | The service name on cards, rows and the page |
description | text | The lead line at the top of the page |
summary | text | One line under the title on the service cards and rows |
feeNote | text | Your fee as written, such as "From 8% of the monthly rent" or "Free, no obligation". Shown on the cards and in the fee box on the page |
image, imageAlt | image path, text | A 4:3 photo for the cards and the page band |
includes | list of text | “What’s included”, one short item per line |
steps | list of title, text | “How it works”, three or four steps in order |
faq | list of question, answer | The questions on the page. Empty hides the FAQ there |
button | button | The button under the fee box. enable: false hides it |
order | number | Position everywhere (lowest first) |
| Named blocks | faqSection, enquirySection and ctaSection for this page only |
The text under the frontmatter is the body of the page. The fees in the samples are made up and marked # sample: write your real fees, or a line like "Fee agreed after the visit".
The Service Page
/services/<file name>/ shows, top to bottom:
- A tall photo band with the title.
- The body column: the lead, the Markdown copy and Ask AI links, the text, “What’s included”, the fee box, and the button.
- How it works: the
steps, numbered. - The “why us” panel: a photo with a card of short check rows, shared by every service page.
- The questions from
faq. - The inquiry form.
- The call to action band.
The parts every service page shares are in the detail block of src/content/services/english/-index.md:
detail: why: # photo panel with a card of check rows, after "How it works" enable: true title: "Why people pick *us*" image: "/images/lotline/properties/hillcrest-courtyard-house/gallery-2.jpg" imageAlt: "" # decorative: leave empty list: - "Agents who live in the neighborhoods they cover" - "One person handles your home from start to finish" faqSection: # the questions come from each service's `faq` list title: "Common questions" enquirySection: enable: trueA service file’s own faqSection or enquirySection block wins over the shared one for that page. Each service page also carries Service structured data, with your neighborhoods as the areas served.
The Services Page And Section
/services/ shows every service as a wide photo card, two to a row, then the inquiry form and the reviews. Its blocks are in src/content/services/english/-index.md.
On the homepages, the services section shows the services you pick:
title: "How we can help"services: ["buying", "selling", "renting"] # file names in display order; empty = every service by `order`options: layout: "photo-cards" # photo-cards | list | grid-2The Services menu in the header lists each service page by hand. When you add, rename or remove a service, change its link in each src/config/menu.<language>.json. See Menus.
Add A Service
- Copy a service file, for example
src/content/services/english/relocation.md, and rename it. The file name is the URL:/services/new-homes/. - Put its 4:3 photo in
src/assets/images/lotline/services/and pointimageat it. - Fill in the fields, set
order, and write the body. - Copy the file into
french/andarabic/with the same name and translate it. - Add its link to the Services menu in each
src/config/menu.<language>.json. - Run
npm run astro-check.
Reviews point at services by file name (service: "selling"), and the filter buttons on /reviews/ come from them. If you rename or remove a service, change the reviews that name it.
The Valuation Page

/valuation/ shows, top to bottom: a photo band, the valuation section (what happens and the steps on one side, the form card on the other), reviews from sellers and landlords, questions about valuations, and the call to action. The header’s main button, Book a valuation, links here and hides itself on this page.
The page’s own file is src/content/pages/english/valuation.md. The copy, the steps and the form are in src/content/sections/english/valuation-section.md:
| Field | What it does |
|---|---|
anchor | The id of the form card, "request". Any button can link to /valuation/#request |
title, description | The heading and the paragraph on the start side. One word of the title may be *emphasis* |
points | Short blocks under the text, each a title and text (“What happens”, “Who it’s for”) |
stepsTitle, steps | “How it works” and its steps, each a title and text |
formTitle, formDescription | The heading and line of the form card |
form | The fields, the email subject, the submit button, and the success and error messages |
The form asks for the name, email, phone, address, property type, bedrooms, whether the owner is selling or renting out, when they plan to move, and a message. Change the fields in form.inputs, in every language. It sends through contactFormAction in config.toml, like every form on the site. See Forms.
To show only some reviews on the valuation page, the reviewsSection block in valuation.md filters them by service:
reviewsSection: enable: true title: "What sellers and landlords told us" filter: services: ["selling", "property-management", "valuations"] limit: 3To move the header button somewhere else, change url in [settings.navigationButton] in config.toml, and its label in navigation.buttonLabel of each src/i18n/<language>.json. See Header.
Do It With AI
Rewrite the services on my Lotline site to match what my agency does: [LIST, with what eachincludes and the fee]. For each service, edit or create its file in src/content/services/english/(title, description, summary, feeNote, includes, steps, faq, order), keep the keys and comments,and delete services I don't offer. Update the Services menu in each src/config/menu.<language>.json,the services list in src/content/sections/*/services-section.md, and any review whose service nolonger exists. Do the same in french/ and arabic/, then run npm run astro-check.Change the valuation request form on my Lotline site: [CHANGES, e.g. add a field for thenumber of bathrooms, change the promise to "a written figure within 3 business days"]. Editsrc/content/sections/<language>/valuation-section.md in every language folder, keep eachfield's name a plain ASCII word, and keep the success and error notes.