Site Identity & Logo
Files: src/config/config.toml, src/assets/images/, src/i18n/en.json · Skill level: Beginner
Name, Tagline, And Description
[site] title = "Acme Tasks" description = "Plan projects and ship work together in one calm workspace." tagline = "Task management for remote teams" taglineSeparator = "" # empty uses " - "
[seo] author = "Acme Inc." keywords = ["task management", "team collaboration"]titleis the brand name: structured data, the{brand}placeholder in the copyright line, and the alt text of a custom logo use it.taglineis added to the end of every page title in the browser tab and in search results (“Pricing - Task management for remote teams”). A page turns it off withdisableTagline: truein its frontmatter.- The tagline can be translated: set
"tagline"under"site"insrc/i18n/en.json,fr.json, andar.json. A value there wins overconfig.tomlfor that language. descriptionis the default meta description and social preview text for pages that don’t set their own. On other languages the description and keywords come fromsite.descriptionandsite.keywordsinsrc/i18n/<lang>.json, or Interface labels > Site in the Sanity edition, so change those too.
Use Your Own Logo
With logo = "", Taskly draws its built-in mark (a white check on a lilac primary tile with a lime dot), so it follows your brand color. To use your own image:
-
Put the file in
src/assets/images/, for examplesrc/assets/images/my-logo.svg. SVG gives the sharpest result; PNG and WebP work too. -
Point
config.tomlat it. Paths that start with/images/are read fromsrc/assets/images/:[site]logo = "/images/my-logo.svg"logoDark = "" # optional: a light version for the dark footerlogoText = "Acme Tasks" # "" when the image already contains the namelogoWidth = "32px"logoHeight = "32px" -
Check the header and the footers. The
defaultfooter of inner pages is dark: the built-in mark andlogoTextturn white there on their own, but an image is shown as it is. Thenewsletterandtilesfooters are light and showlogo; thewordmarkfooter on/printslogoText(or the sitetitlewhen it is empty) as large text instead of a logo. If your logo is dark, add a light version (for example a white SVG) tosrc/assets/images/and set it aslogoDark:[site]logo = "/images/my-logo.svg"logoDark = "/images/my-logo-white.svg" # used in the dark footer; empty uses `logo` there toologoDarkuses the same size (logoWidth,logoHeight) and only replaces a customlogo; the built-in mark needs neither.
src/assets/images/logo.svg is a copy of the built-in mark you can use as a starting point.
Favicons
-
Put a square image (SVG or a PNG of at least 512×512) in
src/assets/images/, and set it inconfig.toml:[site.favicon]path = "/images/favicons" # leave as it isimage = "/images/favicon.svg" # your square logo -
Run:
Terminal window npm run generate-faviconsIt writes every size (
favicon.ico,favicon.svg, Apple touch icon, web app icons, andsite.webmanifest) topublic/images/favicons/.
Social Sharing Image
When a page is shared in a chat app or on social media, the preview shows an image:
-
Pages with an
imagein their frontmatter use that image. -
Other pages get a card drawn during
npm run buildwith the logo, the section, the page title, and the description ([opengraph] generateImages = true). Right-to-left languages skip the card and use the shared image below. -
[opengraph] image(/images/og-image.jpg, inpublic/) is the shared fallback. Redraw it from your logo, colors, fonts, tagline, and description with:Terminal window npm run generate-og-imageRun it after you change the brand,
baseUrl, colors, or fonts.[opengraph] theme(lightordark) picks the palette for both the cards and this image.
Contact Details
The contact page shows its emails, booking slots, and support chat from its own section files (contact-cards-section.md and contact-message-section.md), so edit those for your real details.
The [settings.contactInfo] block in config.toml (phone, email, address) is separate: it is listed in llms.txt so AI answers can point to a real way to reach you, and it doesn’t change the contact page. It ships with a placeholder email, so set your own. Empty values are left out.
Do It With AI
Rebrand the site identity to [NAME], tagline "[TAGLINE]", description "[DESCRIPTION]". Edit [site]and [seo] in src/config/config.toml, and "tagline" under "site" in src/i18n/en.json, fr.json, and ar.json(translate it for each language). My logo is src/assets/images/[FILE]; set logo, logoText, logoWidth, andlogoHeight, set logoDark to [LIGHT FILE] (a light version for the dark footer) or leave it empty,and set [site.favicon] image. Then tell me which commands to run for the favicons and the socialimage.