Site Identity & Logo
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.
Customize Your Logo
To set the logo that is displayed in the header and footer, edit the [site] section in the config.toml file:
# 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 logobaseUrl: 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.svgmeanssrc/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 usesremvalues, butpxworks too (e.g."86px").description&tagline: These are for your default language. Other languages keep their own copy underseoinsrc/i18n/<lang>.json.
Set Up Your Favicon
Favicons appear in browser tabs and are essential for branding.
# 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 instructionGenerate Favicons
-
Place your logo image at the
imagepath (Stella points this at/images/logo.svgby default, which issrc/assets/images/logo.svg). -
Run this command in your terminal:
Terminal window npm run generate-favicons -
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:
# 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!