LayoutForFaq Reference
The LayoutForFaq component generates the metadata for a page, including the title, description, canonical URL,
Open Graph and Twitter metadata, and FAQ-specific 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, it 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”.
faqs (required)
Section titled “faqs (required)”type: Array<{ question: string; answer: string }>
An array of FAQ items. Each item must have:
- question (
string): The question text - answer (
string): The answer text
scriptId
Section titled “scriptId”type: string
A custom ID for the script tag.