lib/headDefaults
Functions
'Read the “', Functions, '” section'headDefaults()
'Read the “', headDefaults(), '” section'function headDefaults( title: string, description: string, lang: string, Astro: AstroGlobalPartial, favicon: string, ogImage: undefined | string, canonical: undefined | URL): { attrs: Record<string, undefined | string | boolean>; content: string; tag: | "title" | "base" | "link" | "style" | "meta" | "script" | "noscript" | "template"; }[]
Defined in: studiocms/packages/studiocms/src/lib/headDefaults.ts:78
Default Head Tags for use with createHead() helper
Parameters
'Read the “', Parameters, '” section'string
description
'Read the “', description, '” section'string
string
AstroGlobalPartial
string
undefined
| string
canonical
'Read the “', canonical, '” section'undefined
| URL
{
attrs
: Record
<string
, undefined
| string
| boolean
>;
content
: string
;
tag
: | "title"
| "base"
| "link"
| "style"
| "meta"
| "script"
| "noscript"
| "template"
;
}[]