lib/headDefaults
Esta página aún no está disponible en tu idioma.
Functions
Section titled “Functions”headDefaults()
Section titled “headDefaults()”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
Section titled “Parameters”string
description
Section titled “description”string
string
AstroGlobalPartial
favicon
Section titled “favicon”string
ogImage
Section titled “ogImage”undefined
| string
canonical
Section titled “canonical”undefined
| URL
Returns
Section titled “Returns”{
attrs
: Record
<string
, undefined
| string
| boolean
>;
content
: string
;
tag
: | "title"
| "base"
| "link"
| "style"
| "meta"
| "script"
| "noscript"
| "template"
;
}[]