SiteData #
Raw site data exposed to the client via virtual module.
Fields #
titlestring
Site title.
descriptionoptionalstring
Description of pages that set none in frontmatter.
basestring
URL prefix the site is served under; starts and ends with /.
headHeadConfig[]
Tags added to the <head> of every page.
themeConfigoptionalPartial<ThemeConfig>
Theme settings.
localesRecord<string, LocaleConfig>
The languages of the site, by key.
Full type signature
TypeScript
interface SiteData {
title: string
description?: string
base: string
head: HeadConfig[]
themeConfig?: Partial<ThemeConfig>
locales: Record<string, LocaleConfig>
}

Comments