Skip to content

Layout Reference

The Layout component generates the metadata for a page, including the title, description, canonical URL, Open Graph and Twitter metadata, and any JSON-LD structured data.

type: string

The title of the page.

type: string

The description of the page.

type: string

The URL of the Open Graph image. If not specified, defaults to the Open Graph defined in seoInAstro integration.

type: string

The language of the page (e.g., “es”, “fr”). If not specified, it defaults to “en”.

type: any

The JSON-LD structured data object to be rendered. This should be a valid JSON-LD object following the schema.org specification.

type: string

A custom ID for the script tag.