Table of Contents
ts
type ResolvedConfig = SetRequiredDeep<Pick<Config, "title" | "description" | "prefix">, "title" | "description" | "prefix"> & SetRequiredDeep<Pick<Config, "author" | "copyright">,
| "author"
| "author.name"
| "copyright"
| "copyright.copyrightYears"
| "copyright.license"> & SetRequiredDeep<Pick<OmitDeep<Config, "post.frontmatterKeys">, "post">,
| "post"
| "post.pathStyle"
| "post.toc"
| "post.toc.enable"
| "post.toc.range"
| "post.og"
| "post.lang"
| "post.lang.default"
| "post.export"
| "post.export.md"
| "post.sort"
| "post.date"
| "post.date.key"
| "post.date.formats"
| "post.date.formats.short"
| "post.date.formats.long"> & SetRequiredDeep<Pick<Config, "processors" | "collections" | "navigations">,
| "processors"
| "collections"
| "navigations"
| `navigations.${string}`> & SetRequiredDeep<Pick<Config, "pages">, "pages" | "pages.404" | "pages.home" | "pages.rss_xml"> & Pick<Config, "logo"> & SetRequiredDeep<Pick<Config, "art">, "art" | "art.dots" | "art.plum" | "art.dots.weight" | "art.plum.weight"> & SetRequiredDeep<Pick<Config, "appearance">, "appearance"> & SetRequiredDeep<Pick<Config, "imports">, "imports" | "imports.@vercel/og"> & SetRequiredDeep<Pick<Config, "components">, "components" | "components.NavbarBrand"> & SetRequiredDeep<Pick<Config, "viewTransition">, "viewTransition" | "viewTransition.enable"> & SetRequiredDeep<Pick<Config, "postcss">, "postcss" | "postcss.postcssGlobalData" | "postcss.postcssPresetEnv"> & SetRequiredDeep<Pick<Config, "integrations">,
| "integrations"
| "integrations.nprogress"
| "integrations.sitemap"
| "integrations.robotsTxt"
| "integrations.mdx"> & SetRequiredDeep<Pick<Config, "projects">, "projects"> & SetRequiredDeep<Pick<Config, "advanced">, "advanced" | "advanced.functionCodeReplace"> & object;Defined in: packages/astro-friday/src/config.ts:703
Type Declaration
astro
ts
astro: object;Astro configuration values used in Friday
See
https://docs.astro.build/en/reference/configuration-reference/
astro.base
ts
base: string;The base path from Astro config.
If not defined in Astro config, will be set to '/'.
astro.site
ts
site: string;The site URL from Astro config.
If not defined in Astro config, will be set to http://localhost:<port>.
baseFull
ts
baseFull: string;The full base path, is Astro’s base with the config prefix joined.
post
ts
post: object;post.frontmatterKeys
ts
frontmatterKeys: { [K in FrontmatterKeysInternal]: K };