ResolvedSiteData #
Site data resolved for the current route and locale.
Fields #
titlestring
Site title, in the current locale when it has its own.
descriptionoptionalstring
Description of the current locale, falling back to the site description.
basestring
URL prefix the site is served under.
themeConfigPartial<ThemeConfig>
Theme settings, with the current locale's on top.
localeIndexstring
Key of the current locale in locales.
labeloptionalstring
Name of the current language.
langoptionalstring
Language code of the current locale.
diroptionalLocaleDirection
Writing direction of the current locale.
linkstring
Path prefix of the current locale.
headHeadConfig[]
<head> tags from the site config, shared by every page.
localeHeadHeadConfig[]
<head> tags of the current locale, rendered after the site tags.
Full type signature
TypeScript
interface ResolvedSiteData {
title: string
description?: string
base: string
themeConfig: Partial<ThemeConfig>
localeIndex: string
label?: string
lang?: string
dir?: LocaleDirection
link: string
head: HeadConfig[]
localeHead: HeadConfig[]
}

Comments