# Site Identity & Logo

## Site Identity & Logo

**Files:** `src/config/config.toml`, `src/i18n/<lang>.json` · **Skill level:** Beginner

Folex makes it easy to customize your site's branding, including the logo and favicon, through the `config.toml` file.

In the Tina edition, edit these under **Site settings > Site** and **Interface labels > Site** at `/admin/`. In the Sanity edition, they are under **Site settings > Site**, and **Interface labels** for each language, in the Studio.

### Customize Your Logo

To set the logo in the header, edit the `[site]` section in the `config.toml` file:

```toml {8-12}
# src/config/config.toml
[site]
  title            = "Folex" # Shared title for SEO and OpenGraph
  description      = "" # Leave empty to use the text in each language file
  tagline          = "" # Leave empty to use the text in each language file
  taglineSeparator = "" # default is " - "
  baseUrl          = "https://example.com" # Base URL for the site and used in OpenGraph meta tags.
  logo             = "/images/logo.svg" # Path to the site's logo
  logoAlternate    = "/images/logo-light.svg" # Path to the site's logo
  logoText         = "" # Text displayed next to the logo
  logoWidth        = "86px" # Width of the logo
  logoHeight       = "24px" # Height of the logo
```

- **`logo`**: Path to your main logo.
- **`logoText`**: Text next to the logo (if applicable).
- **`logoAlternate`**: The logo on pages with a dark header, such as `/creative-agency/`.
- **`logoWidth` & `logoHeight`**: Adjust the size of your logo.

The side panel has its own logo: `logo` under `[settings.headerOffcanvas]`. See [Header](../header/). The footers don't show a logo.

### Set Your Site Address

Set `baseUrl` to your domain before you launch. Canonical links, the sitemap, `robots.txt`, `llms.txt`, and Open Graph URLs use it, and `npm run build` warns while it is still `https://example.com`.

### Tagline And Description

These can change with the language, so they are in each language file, under `site`:

```json
"site": {
  "tagline": "Creative Agency & Personal Portfolio Business Theme",
  "description": "A highly customizable creative agency & personal portfolio business theme built with Tailwind CSS and Astro Js"
}
```

The tagline is added to page titles, and the description is the default meta description. Change them in every language. A value in `tagline` or `description` under `[site]` replaces the text in every language, so leave those empty unless you want that.

### Set Up Your Favicon

Favicons appear in browser tabs and are essential for branding.

```toml
# src/config/config.toml
  # Add your site logo in image path below and open your terminal and run "npm run generate-favicons" to generate favicons for different devices and platform (https://realfavicongenerator.net/checker)
  [site.favicon]
    path  = "/images/favicons" # favicon images path (No need to change it)
    image = "/images/favicon.png" # Add your site logo path here and follow upper instruction
```

#### Generate Favicons

1. Put your logo image in `src/assets/images/`, and set `image` to its path.
2. Run this command in your terminal:

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

3. The tool will create favicons for various platforms and save them in `public/images/favicons/`.

In the Sanity edition, favicons work the same way, from `site.favicon` in `config.toml`.

### Customize SEO Metadata

Optimize your site for search engines with these SEO settings in `config.toml`:

```toml
# src/config/config.toml
# SEO Metadata
# Specific SEO configurations that complement the general site settings.
# -----------------------------------------------------------------------------------------------------------------------------------
[seo]
  author = "Getastrothemes"
  keywords = [
    "digital agency",
    "folex astro template",
    "astro template",
    "astro theme",
    "folex theme",
    "folex astro theme",
    "astro portfolio theme",
    "astro portfolio template",
    "astro agency template",
    "astro agency theme",
  ]
  robots = "index, follow" # Instructs search engines on how to crawl and index the pages.
```

- **author**: Set the author or organization for SEO.
- **keywords**: Add keywords to improve search ranking.
- **robots**: Control search engine crawling (e.g., "index, follow" to allow indexing).

🚀 You've customized the site's identity and logo—now it's time to update the fonts and colors!