Skip to content
New: Customize your theme with an AI assistant. Read the guide

Config Reference

File: src/config/config.toml · Skill level: Beginner

config.toml holds the site-wide settings: your agency details, the header and footer layouts, the forms, the listing currency and units, SEO, motion, and more. It is split into tables. A line in [brackets] starts a table, and every key = value line under it belongs to that table until the next one. Most keys have a comment next to them. This page explains them all in one place, with the value Lotline ships.

Values marked # sample or PLACEHOLDER in the file must be replaced before you launch.

Site Identity

Table: [site]

KeyShips asWhat it does
title"Lotline"Brand name. It is {brand} in the footer copyright, the name on social cards and in structured data, and the business name while [business] name is empty. The home page title comes from its own metaTitle
description""Default description for search results and social previews. Empty uses seo.siteDescription in each src/i18n/<lang>.json. A value here is used for every language
tagline""Added to every page title (“Agents - your tagline”) and to social titles. Empty uses seo.tagline in each src/i18n/<lang>.json. A page turns it off with disableTagline: true
taglineSeparator""Text between the page title and the tagline. Empty uses " - "
baseUrl"https://example.com"Placeholder. Your live address. Canonical links, the sitemap, robots.txt, RSS feeds, llms.txt and social URLs are built from it, and npm run build warns while it is example.com. A SITE_URL environment variable on the build overrides it
logo""Path to a logo image (SVG or PNG) that replaces the built-in mark. Empty draws the mark from src/lib/brandMark.ts
logoText"Lotline"Text next to the mark, shown exactly as typed
logoWidth, logoHeight"28px"Logo image size. Used only when logo is set
trailingSlashtrueURLs end with / (/agents/). Restart the dev server after a change
[site.favicon] path"/images/favicons"Where the generated favicons go. Leave it as it is
[site.favicon] image"/images/favicon.svg"Source image for npm run generate-favicons (src/assets/images/favicon.svg)

Details: Site Identity & Logo.

Agency Details

Tables: [business], [business.address], [business.geo], [business.hours]

One place for your agency name, phone, email, address and opening hours. The header, the mobile menu, the Properties mega menu, the footer, the contact page, the forms, the structured data and llms.txt all read them from here.

KeyShips asWhat it does
name""Agency name. Empty uses site.title
legalName""Optional registered name, for structured data
type"RealEstateAgent"The schema.org type: RealEstateAgent, LocalBusiness or ProfessionalService
phone"+15550100199" (sample)Phone for call links, in E.164 format. Empty hides every call link
phoneDisplay"(555) 010-0199" (sample)How the phone is written on the page
sms, smsDisplaysample numbersOptional text-message number
email"[email protected]"Placeholder. Your public email
priceRange"$$"Shown in structured data only
[business.address]sample addressshow, street, locality, region, postalCode, country. show = false hides the street and postal code everywhere
[business.geo]emptyOptional latitude and longitude
[business.hours]sample hoursmon to sun, 24-hour "HH:MM-HH:MM". Empty is closed

Every key, its format and where it shows: Agency Details.

Search Engines

Tables: [seo], [seo.schema], [seo.robotsTxt], [seo.ai], [seo.sitemap]

KeyShips asWhat it does
[seo] author""Default author meta tag. Empty uses the agency name
[seo] keywords[]Default keywords for pages without their own. Empty uses seo.keywords in each src/i18n/<lang>.json
[seo] robots"index, follow, max-snippet:-1, ..."The default robots meta tag
[seo.schema] enabletrueStructured data (JSON-LD) on every page: the agency, the website, the page, and listings where they apply
[seo.schema] faqPagetrueFAQPage markup on /faq/
[seo.robotsTxt] enabletrueBuilds robots.txt
[seo.robotsTxt] disallow[]Paths crawlers should skip
[seo.robotsTxt] aiSearchtrueLets AI answer engines (ChatGPT search, Claude, Perplexity) fetch pages to cite them
[seo.robotsTxt] aiTrainingtrueLets crawlers that collect training data visit. false opts out of training only
[seo.robotsTxt] contentSignalsfalseAdds a Content-Signal line with the two choices above
[seo.ai] llmsTxttrueBuilds /llms.txt and /llms-full.txt per language
[seo.ai] markdownPagestrueA Markdown copy of each main page at <page>.md
[seo.ai] indexNowKey""Your IndexNow key for npm run indexnow. Empty turns it off
[seo.sitemap] enabletrueBuilds the sitemap
[seo.sitemap] exclude[]Leaves out pages whose path contains these folder names

Details: SEO & AI Visibility.

General Settings

Table: [settings]

KeyShips asWhat it does
blogFolder"blog"Folder of the blog posts. Leave it unless you also rename the folders the comment lists
servicesFolder"services"Folder of the services. Same rule as blogFolder
blogPagination6Posts on each blog list page
stickyHeadertrueKeeps the header pinned while scrolling. The announcement bar and the utility strip scroll away
contactFormAction"https://formsubmit.co/[email protected]"Placeholder. Where every form on the site posts: inquiries, viewing requests, valuations, contact and job applications
contactFormProvider"formsubmit.co"formsubmit.co, formspree or netlify

Details: Forms.

Table: [settings.layout]

KeyShips asOptions
header"overlay"overlay (transparent over a photo top, solid on scroll), bar (solid white), utility (a pine strip with phone, email and hours above a white bar)
footer"columns"columns (white), pine (pine panel with a newsletter row), minimal (one row)

A page can pick its own with headerLayout and footerLayout in its frontmatter. See Header and Footer & CTA Band.

TableKeyShips asWhat it does
[settings.headerSearch]enable, urltrue, "/properties/"The round search button in the header, linking to the listings page
[settings.navigationButton]enable, label, urltrue, "", "/valuation/"The main header button (“Book a valuation”). Empty label uses navigation.buttonLabel in each src/i18n/<lang>.json. The button is hidden on the page it links to
[settings.navigationSecondaryLink]enable, label, urlfalse, "", "/contact/"A plain text link before the search button, from 1320 px wide

Page Header Band

Table: [settings.pageHeader]

image ("/images/lotline/heroes/page-band.jpg") is the photo behind the title of inner pages that set no pageHeader.image of their own. Empty gives a flat pine band. See Pages.

Listings

Table: [listings]

KeyShips asWhat it does
currency"USD"ISO code of every listing price, development “from” price and rent
locale""How prices and areas are written ("en-US"). Empty follows the page language
areaUnit"sq ft"Unit after floor areas ("sq ft" or "m²"). The number in each listing is in this unit
propertiesPerPage0Listings per page on /properties/. 0 shows them all on one page, so the filters see every home
maxPricesSale[400000, ..., 2000000]Steps in the “Max price” list for homes for sale
maxPricesRent[1250, ..., 4000]Steps in the “Max price” list for rentals (monthly rent)

Details: Listing Search & Filters.

Money

Table: [settings.currency]

code ("USD") and display ("symbol", "narrowSymbol" or "code") set the currency of salaries on job pages and in structured data. Set code to the same value as [listings] currency.

Motion

Tables: [effects], [settings.smoothScroll], [settings.animation]

KeyShips asWhat it does
[effects] motiontrueScroll reveals, photo wipes, parallax, pinned sections and the moving logo row. false shows everything in its final place and loads no motion script
[effects] smoothScrollfalseSmooth scrolling with Lenis, loaded once the page is idle. Off on touch screens
[settings.smoothScroll]duration = 1.1, easing = "expo", …How smooth scrolling feels
[settings.animation]enable = true, duration = "600ms", …An older fade-in that a few parts still use

Visitors who ask their system for reduced motion always get a still page. Details: Animations and Smooth Scroll.

Table: [settings.cookieConsent]

enable = true shows the banner and holds back any [head] tag marked with data-consent until the visitor chooses. Raise revision (ships as 1) when your cookie use changes, so every visitor is asked again. See Cookies & Analytics.

Table: [settings.pageActions]

KeyShips asWhat it does
enabletrueThe Copy page and Ask buttons under the intro of posts, properties, developments, neighborhoods, services, agents and jobs
footertrueThe Ask AI about this page row in every footer
providers["chatgpt", "claude", "perplexity", "grok"]Which assistants get a link. Empty hides the Ask links

See AI Links & llms.txt.

Theme Credit

Table: [settings.themeCredit]

enable = true shows “Built on the Lotline Astro theme by Getastrothemes” at the bottom of every footer and at the end of llms.txt. The part of text in [brackets] becomes the link to url.

Table: [settings.copyright]

enable = true shows the copyright line. Empty text uses footer.copyright in each src/i18n/<lang>.json (© {year} {brand}. All rights reserved.). {year} becomes the build year and {brand} the site.title.

Newsletter

Table: [settings.subscription]

The Mailchimp signup in the pine footer. enable turns it on or off. formAction is a placeholder: paste the action URL from your Mailchimp embedded form, with each &amp; changed to &. title and note override the i18n strings for a single-language site. mailchimpTagValue adds a tag to every signup. See Forms.

Languages

Table: [settings.multilingual]

KeyShips asWhat it does
enabletrueTurns the extra languages on
defaultLanguage"en"The language served without a prefix in the URL
disableLanguages[""]Codes of languages to switch off, such as ["fr"]
showDefaultLangInUrlfalsetrue adds /en/ to English URLs

Restart the dev server after a change. See Internationalization.

Layout Switcher

Table: [settings.layoutSwitcher]

Keep enable = false on your site.

Code Blocks

Table: [settings.markup.codeBlocks]

theme = "auto" shows code in a light window that matches the page. "dark" gives a dark code window.

Social Previews

Table: [opengraph]

KeyShips asWhat it does
image"/images/og-image.jpg"The shared preview image, used when a page has no image and cards are off
generateImagestrueDraws a 1200×630 card for every page without an image during npm run build
ogLocale"en_US"Fallback locale. Each language sets its own in src/config/language.json
ogType"website"The Open Graph type
twitter""Your X handle for the card tags
twitterCard"summary_large_image"The card style

See Site Identity & Logo.

Custom Head Scripts

Table: [head]

content is placed in the <head> of every page. Use it for analytics, verification tags or extra stylesheets. With the cookie banner on, change each tracking <script> to <script type="text/plain" data-consent="analytics"> (or "marketing") so it waits for consent. The comment above [head] shows an example. See Cookies & Analytics.

The Other Files Insrc/config/

FileWhat it holdsPage
menu.<language>.jsonThe header menu (headerPrimary) and the footer link columns (footer)Menus
language.jsonThe languages: name, code, content folder, direction, ogLocale, dateLocale and orderInternationalization
fonts.jsonThe fonts: body and headings, the accent words, code, and ArabicColors & Fonts
social.jsonSocial links and their icons (main list)Footer & CTA Band

Colors are not in src/config/. They are tokens in src/styles/theme.css.

Do It With AI

Explain each table of src/config/config.toml in one line, then list every value marked
"# sample" or "PLACEHOLDER" that I must replace before launch, and the current value of each.
Don't change anything yet.
Type something to search...