Site Identity & Logo
Files: src/config/config.toml, src/i18n/<language>.json, src/lib/brandMark.ts, src/assets/images/ · Skill level: Beginner
This page covers your site’s name, the line after every page title, the logo in the header and footer, the small icon in the browser tab, and the card people see when they share a link. Your phone, address and opening hours are separate: see Agency Details.
Name, Tagline And Address
[site] title = "Lotline" description = "" tagline = "" taglineSeparator = "" # default is " - " baseUrl = "https://example.com" # PLACEHOLDER: set your own domain before deployingtitleis your brand name. It is the{brand}in the footer copyright, the name on the social cards, and the business name in structured data while[business] nameis empty. The home page’s browser title is themetaTitleinsrc/content/homepage/english/-index.md(and each other language folder).descriptionis the default text under your link in search results and social previews. Pages with their owndescriptionormetaDescriptionuse theirs. Empty usesseo.siteDescriptionin eachsrc/i18n/<lang>.json. A value here is used for every language.taglineis added to every page title: “Agents - your tagline”. Empty usesseo.taglinein eachsrc/i18n/<lang>.json. It ships as “Real Estate Agency Astro & Tailwind CSS Theme”, so change it to a short line about your agency, for example “Homes for sale and rent in Springfield”. SetdisableTagline: truein a page’s frontmatter to drop it on that page.baseUrlmust be your real address before you launch. Canonical links, the sitemap,robots.txt, RSS feeds,llms.txtand social previews are built from it. While it is stillhttps://example.com,npm run buildprints a warning. ASITE_URLenvironment variable on the build overrides it (vercel.shsets one on Vercel).
In each src/i18n/<lang>.json also rewrite seo.keywords and ai.siteSummary. The summary opens your llms.txt file.
The Logo
Lotline’s logo is a small mark (a solid L-shaped lot with an outlined square plot in its corner) followed by your name in text:
[site] logo = "" # Leave empty for the mark in src/lib/brandMark.ts logoText = "Lotline" # Text next to the mark, shown exactly as typed (no case change) logoWidth = "28px" # Only when `logo` is set logoHeight = "28px" # Only when `logo` is setChange only the name. Set logoText to your name, written the way you want it shown. "Harbor & Pine Realty" stays as typed. Check the header at phone width afterwards: a long name leaves less room next to the search and menu buttons.
Keep the mark, change its color. The mark is drawn in the current text color, so it follows your color tokens: pine (--theme-brand) on white, and lime (--theme-accent) on pine panels, the pine footer and over photos, such as the overlay header before you scroll. The rules are .logo-wrapper .logo-mark in src/styles/navigation.css. Change the tokens in src/styles/theme.css and the mark follows. See Colors & Fonts.
Change the mark’s shape. src/lib/brandMark.ts holds the mark as two SVG paths on a 32×32 grid: lot (the solid L) and plot (the outlined square, drawn with a plotWidth stroke). The header, the footer and the generated social cards all draw it from this file. Edit it only if you’re comfortable with SVG paths.
Use your own logo file. Put the file (SVG is best, PNG works) in src/assets/images/ and point logo at it:
[site] logo = "/images/my-logo.svg" # src/assets/images/my-logo.svg logoText = "" # empty when the name is part of the file logoWidth = "120px" logoHeight = "28px"Set logoWidth and logoHeight to keep your logo’s proportions at about 28 px tall.
src/assets/images/logo.svg and logo-on-dark.svg are standalone copies of the Lotline logo (mark and name) for light and dark backgrounds. The site doesn’t use them. They’re there for your email signature or documents. Replace or delete them.
Favicons
The small icon in the browser tab and on phone home screens. Lotline creates every size from one image:
-
Save a square image of your mark in
src/assets/images/: an SVG, or a PNG of at least 512×512 px. The shipped one issrc/assets/images/favicon.svg, the Lotline mark. -
Point
[site.favicon] imageat it. The path starts with/images/and is read fromsrc/assets/:[site.favicon]path = "/images/favicons" # favicon images path (No need to change it)image = "/images/favicon.svg" # src/assets/images/favicon.svg -
With
npm run devrunning (it applies yourconfig.tomlchange), run:Terminal window npm run generate-favicons
The files are written to public/images/favicons/ (favicon.ico, favicon.svg, favicon-96x96.png, apple-touch-icon.png, the web app icons and site.webmanifest). Hard-refresh the browser (Ctrl + Shift + R, or Cmd + Shift + R on a Mac) to see the new icon. Browsers keep old favicons for a long time.
Social Preview Images
When someone shares a link to your site, the preview card is, in this order:
- The page’s own
image, if its frontmatter has one, cropped to 1200×630. A property page uses its cover photo this way. - A generated card. With
[opengraph] generateImages = true(the default),npm run builddraws a 1200×630 card for every page without animage: your logo andlogoText, the section name, the page title and its description, in your fonts and colors. - The shared image in
[opengraph] image, when cards are off.
[opengraph] image = "/images/og-image.jpg" # public/images/og-image.jpg generateImages = true # a card for every page without an `image`The generated cards are made during the build only, so you won’t see them with npm run dev. After a build they’re in dist/og/.
The shipped public/images/og-image.jpg shows the Lotline name. Make your own once your name, tagline, colors and baseUrl are set:
npm run generate-og-imageIt redraws public/images/og-image.jpg with your logo, tagline and description, in the same style as the page cards. The colors come from src/styles/theme.css. You can also replace the file with your own 1200×630 image.
More in SEO & AI Visibility.
Before You Launch
-
title,logoText, and theseo.taglineandseo.siteDescriptionin each language file describe your agency, not the theme. -
baseUrlis your domain. - The favicon is your mark, and you ran
npm run generate-favicons. - You ran
npm run generate-og-image, or replacedpublic/images/og-image.jpg. - The header logo looks right at 375 px wide, on a white page and over a photo.
Do It With AI
Rebrand the site to "[NAME]". In [site] of src/config/config.toml set title and logoText to"[NAME]" and baseUrl to "[URL]". In each src/i18n/<lang>.json, rewrite seo.tagline,seo.siteDescription, seo.keywords and ai.siteSummary for my agency ([WHAT WE DO, WHERE]),translated for that language. [I put my logo at src/assets/images/[FILE].svg: set logo to"/images/[FILE].svg", logoText to "", and logoWidth / logoHeight for a 28px-tall logo.]Set [site.favicon] image to "/images/[SQUARE FILE]". Then tell me which npm commands to run.