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

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

Stella makes it easy to customize your site’s branding, including the logo and favicon, through the config.toml file. In the Tina edition, this is Site settings at /admin/. In the Sanity edition, it is Site settings > Site in the Studio, with the favicon settings still in config.toml.

To set the logo that is displayed in the header and footer, edit the [site] section in the config.toml file:

src/config/config.toml
# Site Configuration
[site]
title = "Stella" # Shared title for SEO and OpenGraph
description = "A customizable and multipurpose saas & startup astro theme built with Tailwind CSS and Astro Js" # Default description for SEO and OpenGraph. Other languages: `seo` in src/i18n/<lang>.json
tagline = "Multipurpose Saas & Startup Astro Js Theme" # Other languages: `seo` in src/i18n/<lang>.json
taglineSeparator = "" # default is " - "
baseUrl = "https://stella-astro.pages.dev" # Base URL for the site and used in OpenGraph meta tags.
logo = "/images/logo.svg" # Path to the site's logo
logoText = "Stella" # Text displayed next to the logo
logoWidth = "2rem" # Width of the logo
logoHeight = "2rem" # Height of the logo
  • baseUrl: Your site’s address. It still holds the theme’s demo address, and nothing warns you about it, so change it before you launch. See Deployment.
  • logo: Path to your main logo image (shown in the header and footer). /images/logo.svg means src/assets/images/logo.svg.
  • logoText: Text rendered next to the logo image. Stella ships with "Stella"; leave it empty if your logo already includes the brand name. Markdown is supported here.
  • logoWidth & logoHeight: Rendered dimensions of the logo. Stella uses rem values, but px works too (e.g. "86px").
  • description & tagline: These are for your default language. Other languages keep their own copy under seo in src/i18n/<lang>.json.

Set Up Your Favicon

Favicons appear in browser tabs and are essential for branding.

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/logo.svg" # Add your site logo path here and follow upper instruction

Generate Favicons

  1. Place your logo image at the image path (Stella points this at /images/logo.svg by default, which is src/assets/images/logo.svg).

  2. Run this command in your terminal:

    Terminal window
    npm run generate-favicons
  3. The tool creates favicons for various platforms and saves them to public/images/favicons.

Customize SEO Metadata

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

src/config/config.toml
# SEO Metadata
# Specific SEO configurations that complement the general site settings.
[seo]
author = "Getastrothemes"
keywords = [
"saas astro theme",
"saas business astro theme",
"startup astro theme",
] # SEO keywords
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!

Type something to search...