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

Files: src/config/config.toml, src/i18n/<language>.json, page frontmatter · Skill level: Beginner

Lotline helps visitors and AI tools read your listings and pages. A visitor can open the current page in an AI assistant or copy it as Markdown, and AI tools can read a plain index of your site. All of it is built from your own content and needs no account.

src/config/config.toml
[settings.pageActions]
enable = true
footer = true
providers = ["chatgpt", "claude", "perplexity", "grok"]
SettingWhat it does
enableShows a row of links under the intro of property, development, neighborhood, service, agent, job and blog pages: Copy page, View as Markdown, and one Ask link per assistant
footerShows a row in every footer: Ask AI about this page with one link per assistant, and Read with AI with links to llms.txt and llms-full.txt
providersWhich assistants to offer: any of chatgpt, claude, perplexity and grok. [] hides the “Ask” links

An Ask link opens the assistant with a question about the page. The question is ai.prompt in each src/i18n/<language>.json, and it ships as Read {url} and tell me what this agency charges and which neighborhoods it covers. The other labels are under ai in the same files. Change them in every language.

Copy page and View as Markdown need markdownPages (below) to be on.

A property page with the Copy page and Ask links under the intro

The llms Files

src/config/config.toml
[seo.ai]
llmsTxt = true
markdownPages = true
AddressWhat it holds
/llms.txtA Markdown index of your site: your agency facts, then links grouped as properties, new developments, services, neighborhoods, agents, pages, blog posts and jobs
/llms-full.txtThe text of those pages in one file
/<page>.mdA Markdown copy of a page, such as /properties/elm-hill-modern-villa.md

Each language gets its own, such as /fr/llms.txt and /ar/llms.txt. The agency facts at the top (name, phone, email, address, hours, areas served, currency) come from [business] in config.toml.

llms.txt is a proposed convention that some AI tools and coding agents read. Search engines don’t document using these files, so treat them as a help for AI tools, not as an SEO setting.

Before launch:

  • Rewrite ai.siteSummary in each language file. It opens llms.txt, and it ships as a general line about “a local real estate agency”.
  • Set your domain in [site] baseUrl, because the links in these files use it.

The last line of llms.txt is the theme credit, which you can edit under [settings.themeCredit] in config.toml.

Leave A Page Out

Add excludeFromAi to the page’s frontmatter:

---
title: "Internal notes"
excludeFromAi: true
---

The page is left out of the llms files and gets no Markdown copy. Pages marked noindex and drafts are left out for you, so a listing you take down with draft: true leaves these files too.

Choose Which AI Crawlers May Visit

/robots.txt is built from your settings:

src/config/config.toml
[seo.robotsTxt]
enable = true
disallow = []
aiSearch = true # AI answer engines that fetch pages to cite them
aiTraining = true # crawlers that collect content to train AI models

Set aiSearch or aiTraining to false to ask those crawlers to stay away. robots.txt is a request, and not every crawler follows it. The list of crawlers is in src/lib/utils/aiCrawlers.ts. More in SEO & AI Visibility.

Files For Developers

FileWhat it does
src/layouts/components/widgets/PageActions.astroThe Copy page and Ask links
src/layouts/components/global/footer/FooterAi.astroThe footer row
src/lib/utils/aiContent.tsBuilds the text for the llms files and .md copies
src/lib/utils/aiCrawlers.tsThe crawler lists for robots.txt
src/pages/[...lang]/llms.txt.tsThe llms.txt route
src/pages/[...lang]/llms-full.txt.tsThe llms-full.txt route
src/pages/[...path].md.tsThe Markdown copies
src/pages/robots.txt.tsThe robots.txt route

Do It With AI

Prepare the AI files for launch. In each file in src/i18n/, rewrite ai.siteSummary in that file's
language as two sentences about my agency: [DESCRIPTION, CITY, NEIGHBORHOODS]. Check that
[site] baseUrl in src/config/config.toml is "[MY URL]". Then run npm run build and show me the
first lines of dist/llms.txt.
Type something to search...