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 Inconfig.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 brandingdescription: empty usescommon.siteDescriptioninsrc/i18n/<lang>.json, one per language. A value here shows on every languagetagline: empty usescommon.taglineinsrc/i18n/<lang>.json, one per language. It is appended to page titles unless a page disables it. A value here shows on every languagebaseUrl: your site’s address. Canonical links, the sitemap,robots.txt,llms.txt, and social previews use it, andnpm run buildwarns while it is stillhttps://example.com. ASITE_URLenvironment variable overrides it for a buildlogo: default logo imagelogoAlternate: second logo image rendered for alternate visual stateslogoText: optional text next to the logologoWidthandlogoHeight: 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
[site.favicon] path = "/images/favicons" image = "/images/favicon.png"Then regenerate favicon assets:
npm run generate-faviconsFavicons stay in code in every edition. In the Sanity edition, this also reads site.favicon from config.toml.
SEO Basics
[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[seo.sitemap]for the sitemap[opengraph]for share previews[head]for custom scripts, such as analytics tags, and meta tags
Good First Branding Pass
- Replace
title, thencommon.taglineandcommon.siteDescriptionin every language - Replace
logoandlogoAlternate - Generate favicons
- Update
[seo]and[opengraph] - Check
src/i18n/en.jsonand the other language files so footer and button text match the new brand