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

Config Reference

File: src/config/config.toml · Skill level: Beginner

In the Tina edition, these settings are under Site settings at /admin/. In the Sanity edition, most are under Site settings in the Studio, below the languages, and a value there wins over this file. Favicons, the language settings, the layout switcher, and the blog folder name stay in this file.

config.toml holds the site-wide settings. Every key has a comment in the file; this page groups them by task. Save the file and npm run dev picks up the change (restart it after changing trailingSlash or [settings.multilingual]).

: Identity

KeyWhat it does
titleSite name. Used in titles, structured data, and {brand} in the copyright
descriptionDefault meta description for pages without their own
taglineAdded after page titles (“Pricing - SaaS & Task Management Astro & Tailwind CSS Theme”) unless a page sets disableTagline: true. A translated value in site.tagline of src/i18n/<lang>.json wins
taglineSeparatorText between title and tagline. Empty uses " - "
baseUrlYour live address. Ships as https://example.com; set it before you deploy
logoPath to your logo image. Empty draws the built-in mark
logoDarkLogo image for the dark footer, for example a white version. Empty uses logo there too
logoTextText next to the logo. "" hides it
logoWidth, logoHeightLogo size, for example "32px"
trailingSlashtrue builds URLs that end in / (/contact/). Restart the dev server after changing it
[site.favicon] imageSource image for npm run generate-favicons. Leave path as it is

Details: Site Identity & Logo.

: Search Engines And AI

KeyWhat it does
authorDefault author meta tag
keywordsDefault keywords for pages without their own
robotsDefault robots meta tag for every page
[seo.robotsTxt] enableBuilds /robots.txt
[seo.robotsTxt] disallowPaths crawlers should skip
[seo.robotsTxt] aiSearchfalse blocks AI search and answer engines
[seo.robotsTxt] aiTrainingfalse opts out of AI training crawlers only
[seo.ai] llmsTxtBuilds /llms.txt and /llms-full.txt
[seo.ai] markdownPagesBuilds a Markdown copy of posts, releases, integrations, and other pages at <page>.md
[seo.ai] indexNowKeyKey for npm run indexnow. Empty turns it off
[seo.sitemap] enableBuilds the sitemap
[seo.sitemap] excludeFolder names to leave out of the sitemap

Details: SEO & AI Visibility.

: Lists And Forms

KeyWhat it does
blogFolderFolder of the blog collection (blog). Changing it means renaming folders too, as the comment says
blogPaginationPosts per blog list page
paginationItems per page on other paginated lists (the changelog)
contactFormActionWhere the contact and demo request forms send messages, unless a form sets its own form.action
contactFormProviderformsubmit.co, formspree, or netlify
footerDescriptionFooter text. Empty uses footer.description from the i18n files

Details: Forms.

Switches For Site-Wide Features

TableWhat it controlsPage
[settings.search]The header search button and the ⌘K window; exclude leaves paths outSearch
[settings.smoothScroll]Smooth scrolling (Lenis): speed, easing, reduced motionSmooth Scroll
[settings.animation]Scroll-in animations: duration, distance, easingAnimations
[settings.cookieConsent]The cookie banner and revision (ask everyone again)Cookies & Analytics
[settings.announcementBar]The dark strip above the headerHeader
[settings.pageActions]The page action links (copy the page, view as Markdown, ask an assistant), the footer AI row (footer), and providersAI Links & llms
[settings.copyright]The copyright line in the footerFooter
[settings.themeCredit]The theme credit under every footer: enable, text, urlFooter
[settings.contactInfo]The phone, email, and address listed in llms.txtSite Identity & Logo
[settings.subscription]The newsletter forms (footer and /status/) and their Mailchimp formActionForms
[settings.multilingual]Languages on or off, default language, URL prefixInternationalization
[settings.navigationButton]The button on the right of the headerHeader
[settings.navigationSecondaryLink]The “Log in” text link before itHeader
[settings.markup.codeBlocks]Code block colors: auto or darkWriting Content
[settings.markup.tableOfContents]The “On this page” card on text pages (legal)Writing Content
[settings.layoutSwitcher]Has no effect on your site (see below)—

: Social Previews

KeyWhat it does
imageShared preview image for pages without their own image
generateImagesDraws a 1200×630 card for every page without an image during the build
themelight or dark palette for those cards and npm run generate-og-image
ogTypeOpen Graph type. The locale comes from ogLocale in src/config/language.json
twitter, twitterCardYour X (Twitter) handle and card type

: Scripts And Meta Tags

content is HTML added to the <head> of every page: analytics, verification meta tags, extra stylesheets. With the cookie banner on, gate analytics tags on consent. See Cookies & Analytics.

Type something to search...