# Site Identity & Logo

## Site Identity & Logo

**Files:** `src/config/config.toml`, `src/i18n/<lang>.json`, `src/layouts/components/global/Logo.astro` · **Skill level:** Beginner

Taxo keeps brand settings in `src/config/config.toml`, and the shared logo
component lives in `src/layouts/components/global/Logo.astro`.

In the Tina edition, these are under **Site settings** at `/admin/`, and the per-language text is under **Interface labels**. In the Sanity edition, they are in the Studio under **Site settings** (**Site**, **SEO**, **Opengraph**, **Head**) and each language's **Interface labels**.

### Brand Settings In `config.toml`
```toml
# src/config/config.toml
[site]
  title = "Taxo"
  description = ""
  tagline = ""
  taglineSeparator = ""
  baseUrl = "https://example.com"
  logo = "/images/logo.png"
  logoAlternate = "/images/logo-light.svg"
  logoText = ""
  logoWidth = "130px"
  logoHeight = "30.5px"
```

- `title`: used for SEO, Open Graph, and fallback branding
- `description`: empty uses `common.siteDescription` in `src/i18n/<lang>.json`, one per language. A value here shows on every language
- `tagline`: empty uses `common.tagline` in `src/i18n/<lang>.json`, one per language. It is appended to page titles unless a page disables it. A value here shows on every language
- `baseUrl`: your site's address. Canonical links, the sitemap, `robots.txt`, `llms.txt`, and social previews use it, and `npm run build` warns while it is still `https://example.com`. A `SITE_URL` environment variable overrides it for a build
- `logo`: default logo image
- `logoAlternate`: second logo image rendered for alternate visual states
- `logoText`: optional text next to the logo
- `logoWidth` and `logoHeight`: rendered dimensions

### How Taxo Renders The Logo
`Logo.astro` shows `logo` with your width and height, using the page's language for the link home.

Taxo also renders `logoAlternate` as a second image inside the same component,
so if you only want one image, leave `logoAlternate` empty.

### Favicon Setup
```toml
[site.favicon]
  path = "/images/favicons"
  image = "/images/favicon.png"
```

Then regenerate favicon assets:

```bash
npm run generate-favicons
```

Favicons stay in code in every edition. In the Sanity edition, this also reads `site.favicon` from `config.toml`.

### SEO Basics
```toml
[seo]
  author = "Your Company"
  keywords = []
  robots = "index, follow"
```

Empty `keywords` uses `common.siteKeywords` in `src/i18n/<lang>.json`, one per language. A value here shows on every language.

You can also edit:

- `[seo.robotsTxt]` and `[seo.ai]`: see [AI Links & llms](../../features/ai-links-llms/)
- `[seo.sitemap]` for the sitemap
- `[opengraph]` for share previews
- `[head]` for custom scripts, such as analytics tags, and meta tags

### Good First Branding Pass
1. Replace `title`, then `common.tagline` and `common.siteDescription` in every language
2. Replace `logo` and `logoAlternate`
3. Generate favicons
4. Update `[seo]` and `[opengraph]`
5. Check `src/i18n/en.json` and the other language files so footer and button text match the new brand