Site Identity & Logo
Files: src/config/config.toml, src/layouts/components/global/Logo.astro · Skill level: Beginner
Techbyte exposes its branding settings through src/config/config.toml, and the shared logo rendering logic lives in src/layouts/components/global/Logo.astro.
In the Tina edition, these settings are under Site settings at /admin/. In the Sanity edition, they are in the Studio under Site settings > Site, and a value there wins over the same value in config.toml.
Customize Your Logo
To set the logo used across the theme, edit the [site] section in config.toml:
[site] title = "Techbyte" description = "" tagline = "" taglineSeparator = "" baseUrl = "https://example.com" logo = "/images/logo.png" logoAlternate = "/images/logo-white.png" logoText = "" logoWidth = "170px" logoHeight = "34px"title: The site name.description: The default meta description. Leave it empty to usecommon.siteDescriptioninsrc/i18n/<lang>.json, one per language. A value here shows on every language.tagline: Added to page titles. Leave it empty to usecommon.taglineinsrc/i18n/<lang>.json, one per language. A value here shows on every language.taglineSeparatorgoes between the title and the tagline, and the default is-.baseUrl: Your site’s address. Canonical links, the sitemap,robots.txt,llms.txt, and social previews use it. It ships ashttps://example.com, andnpm run buildwarns while it is still that. ASITE_URLenvironment variable overridesbaseUrlfor a build.logo: The logo in both headers, the side menu, and the small-screen menu panel. A path such as/images/logo.pngpoints tosrc/assets/images/logo.png.logoAlternate: The light logo in both footers.logoText: Optional text rendered next to the logo (supports inline Markdown). Techbyte ships with an image-only logo, so this is empty by default.logoWidth&logoHeight: Control the rendered logo dimensions.
The logo key under [settings.headerOffcanvas] isn’t used. The panel shows the [site] logo.
If you want a fully custom logo in a specific place, you can pass a manual src prop (plus width and height) to Logo.astro. SVG logos are inlined automatically for crisp rendering.
Set Up Your Favicon
Favicons are configured in the same file:
[site.favicon] path = "/images/favicons" image = "/images/favicon.png"Generate Favicons
-
Put your source logo in the location referenced by
image./images/favicon.pngissrc/assets/images/favicon.png. -
Run:
Terminal window npm run generate-favicons -
Techbyte will generate favicon assets for multiple platforms into
public/images/favicons/. You can verify the output with RealFaviconGenerator’s checker.
Customize SEO Metadata
Techbyte also exposes basic SEO settings in config.toml:
[seo] author = "Getastrothemes" keywords = ["it solutions astro theme", "managed it services website template"] robots = "index, follow"
[seo.robotsTxt] enable = true disallow = [] aiSearch = true aiTraining = true
[seo.ai] llmsTxt = true markdownPages = true
[seo.sitemap] enable = true exclude = []author: Author or company name used in metadata.keywords: Search keywords for the default language. Other languages print none.robots: Crawl/indexing rules for search engines.[seo.robotsTxt]and[seo.ai]:robots.txt, its AI crawler switches, and the AI-readable files. See AI Links & llms.[seo.sitemap]: Turns the sitemap on or off, and leaves out pages whose address includes the folder names inexclude.
Next, update the theme colors and font stack so the brand feels like yours.
Do It With AI
Change the logo to [FILE] and the site name to [NAME]. Put the file in src/assets/images/. Insrc/config/config.toml, update title, description, baseUrl, logo, logoAlternate, logoWidth, andlogoHeight under [site]. Don't change any other key. Then run npm run astro-check.