# Glossary

## Glossary

Plain-language meanings of the words used in these docs.

### Theme Words
| Word                 | What it means                                                                                              |
| -------------------- | ---------------------------------------------------------------------------------------------------------- |
| **Astro**            | The tool that turns Lotline's files into a website. You don't need to learn it to edit content             |
| **Tailwind CSS**     | The styling system. Classes like `bg-surface` or `mt-8` in components set colors and spacing              |
| **Static site**      | A website made of ready-made files, with no database or server code to run, so it is simple to host        |
| **Node.js**          | The program that runs Astro on your computer                                                               |
| **npm**              | Comes with Node.js. Installs the theme's tools (`npm ci` or `npm install`) and runs its commands (`npm run dev`) |
| **Terminal**         | A window where you type commands. In VS Code: **Terminal → New Terminal**                                  |
| **Dev server**       | The local copy of your site at `http://localhost:4321/` that updates when you save. Started with `npm run dev` |
| **Build**            | Turning the files into the finished website in the `dist/` folder, with `npm run build`                    |
| **Deploy**           | Putting the built site on the internet, on a host such as Netlify, Vercel, or Cloudflare Pages             |
| **Route**            | A file in `src/pages/` that becomes a page and decides which sections it shows                             |
| **Section**          | One full-width block of a page (hero, listings, reviews, FAQ). A component plus a content file             |
| **Component**        | A `.astro` file that draws part of the page. You rarely need to edit these                                 |
| **Content file**     | A `.md` or `.mdx` file in `src/content/` that holds text and options                                       |
| **Markdown**         | A simple way to format text: `**bold**`, `## heading`, `- list item`                                       |
| **MDX**              | Markdown that can also use components (shortcodes) such as `<Callout>` or `<Tabs>`                         |
| **Shortcode**        | A ready-made component you can place inside an `.mdx` file. `/components/` on your local site shows them  |
| **Frontmatter**      | The settings block between two `---` lines at the top of a content file, written in YAML                   |
| **YAML**             | The `key: value` format used in frontmatter. Indentation matters                                           |
| **TOML**             | The `key = value` format of `config.toml`, grouped under `[tables]`                                        |
| **JSON**             | The `"key": "value"` format of the menu, language, font, social, and translation files                     |
| **Collection**       | A folder of similar entries: properties, developments, agents, neighborhoods, services, reviews, blog posts, job openings |
| **Entry**            | One file in a collection, which usually becomes one page                                                   |
| **Slug**             | The part of the URL that names a page: `riverside-townhouse` in `/properties/riverside-townhouse/`. It comes from the file name |
| **Entry id**         | The file name without `.md`. Listings use it to point at an agent (`agent: "omar-reyes"`) or a neighborhood (`neighborhood: "riverside"`) |
| **Named block**      | A section's settings written inside a page's frontmatter, to change that section on that page only         |
| **Layout**           | One of the looks a section can have, chosen with `options.layout`. `/elements/` previews them              |
| **Draft**            | A page or entry with `draft: true`. It is left out of the built site                                       |
| **i18n**             | Short for "internationalization": the multi-language setup                                                 |
| **RTL**              | Right to left: the reading direction of languages such as Arabic. Lotline's Arabic pages are mirrored      |
| **Schema**           | The list of fields a content file may have. `npm run astro-check` and the build report mistakes in files that have one. Section files and the contact page file have none, so check those pages in the browser |
| **Lucide**           | The free icon set Lotline uses. Any name from [lucide.dev/icons](https://lucide.dev/icons/) works, for example `"Trees"` or `"GraduationCap"` |
| **Open Graph image** | The preview picture shown when a link is shared on social media or in chat apps. Lotline generates one per page |
| **Structured data**  | Hidden JSON-LD in each page that tells search engines about your agency and each listing                  |
| **Sitemap**          | A list of every page, for search engines (`/sitemap-index.xml`)                                            |
| **`llms.txt`**       | A proposed format: a Markdown map of your site, with your agency facts first, that AI assistants can read  |
| **Git**              | A tool that saves versions of your project, so you can undo any change                                     |
| **Commit**           | One saved version in git                                                                                   |
| **Diff**             | A view of exactly what changed in a file: removed lines and added lines                                    |

### Lotline Words
| Word                       | What it means                                                                                        |
| -------------------------- | ---------------------------------------------------------------------------------------------------- |
| **`[business]`**           | The block in `config.toml` with your agency name, phone, email, address, and opening hours. Every page reads them from there |
| **Business tokens**        | `{name}`, `{phone}`, `{email}`, `{address}`, and `{hours}` in Markdown text. Lotline replaces them with the values from `[business]` (in `.md` files, not `.mdx`) |
| **`[listings]`**           | The block in `config.toml` that sets how every listing is shown: currency, number format, area unit, listings per page, and the price steps in the search |
| **Listing**                | One home for sale or for rent. One file in `src/content/properties/`, with its own page under `/properties/` |
| **Status**                 | `sale` or `rent` in a listing file. It decides the "For sale" or "For rent" label and which search finds the home |
| **Badge**                  | An extra label on a listing card, typed as you want it shown, such as "New", "Under contract", or "Lease pending" |
| **Featured**               | `featured: true` on a listing puts it first in lists and in the homepage sections that show featured homes |
| **Development**            | A new-build project you sell for a builder, with a "from" price, the number of homes, and a completion date. One file in `src/content/developments/` |
| **Neighborhood guide**     | A page about one area: what the homes are like, schools, parks, transport, shops, the commute, and common questions. It also lists the homes and agents there. One file in `src/content/neighborhoods/` |
| **Agent profile**          | One agent's page, with their photo, contact details, languages, the areas they cover, and the homes that name them as `agent`. One file in `src/content/agents/` |
| **Filters**                | The search bar on `/properties/`: area or street, sale or rent, type, bedrooms, maximum price, and sort order. The choices are kept in the page address, so a search can be shared |
| **Viewing request**        | The form on each property page. It sends the listing's title with the message                        |
| **Valuation request**      | The form on `/valuation/` where an owner asks for a visit and a written price or rent                 |
| **Mega menu**              | The wide **Properties** menu in the header, with link groups, a featured listing card, and a strip along the bottom |
| **Page header**            | The band at the top of inner pages, with the title and breadcrumbs, usually over a photo              |
| **Layout switcher**        | A floating **Change layout** button for the theme's demo. Off by default (`[settings.layoutSwitcher] enable = false`). Keep it off on your site |
| **Sample**                 | A placeholder fact in the content files, marked `# sample`: prices, phone numbers, emails, address, reviews, ratings, stats, and fees. Replace each one before you launch |