stnd.buildSTANDARD MANUAL2026-09-20

Meta

On this page

Universal <head> meta tags — canonical link, description, Open Graph, Twitter Cards, Schema.org JSON-LD, favicons, theme-color, and mobile/Windows tile tags. Self-contained and zero-config: reads site defaults from virtual:stnd/config, with every prop overriding its matching config value for the current page only.

<Meta />
<Meta title="My Page" />
<Meta title="Article" type="article" created="2024-01-01" />

Props

Type Name Description
string title?
string description?
string image?
string author?
string language?
string created?
string modified?
string[] tags?
“website” | “article” | “profile” type? Controls og:type and the Schema.org @type (article → BlogPosting, profile → ProfilePage, else WebSite). Default: “website”
string | { light: string; dark: string } themeColor? theme-color meta tag. A single string is used for both color schemes; pass {light, dark} to vary by prefers-color-scheme.
string tileColor? msapplication-TileColor for Windows tiles. Default: “#ffffff”
“public” | “private” | “unlisted” visibility? “private”/“unlisted” emit noindex, nofollow; “public” (default) allows indexing.
string | null rssFeedUrl?
string rssFeedTitle?
string faviconPath? Path prefix for the generated favicon package (.ico, PNG sizes, browserconfig.xml). Default: “/assets/favicon”
string | null favicon? A single image URL used as the site icon, replacing the whole faviconPath set. Takes precedence over faviconPath when both are given. Modern browsers are happy with one SVG or PNG; use faviconPath when you have a full generated package (.ico, apple-touch-icon, browserconfig…).
string | string[] headExtensions?
string siteUrl? Absolute origin overriding Astro.site (a build-time constant) — pass this when the actual per-request origin, e.g. a user’s verified custom domain, differs from the build’s default site.