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.
title (required)
Section titled “title (required)”type: string
The title of the page.
description (required)
Section titled “description (required)”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”.
jsonLd
Section titled “jsonLd”type: any
The JSON-LD structured data object to be rendered. This should be a valid JSON-LD object following the schema.org specification.
scriptId
Section titled “scriptId”type: string
A custom ID for the script tag.