Open-source SEO primitives ↗

FAQ schema

Frequently asked questions

An FAQPage example where each visible answer matches its structured Question and Answer pair.

Start with the questions people actually ask about integrating the package. Each answer below is rendered from the same data passed to the FAQPage builder.

Does SEO.astro create the JSON-LD script?

Yes. Pass a schema node or composed graph to SEO.astro and it serializes the graph safely for the document head.

Can I use the component without content collections?

Yes. The explicit metadata props work for any Astro page; content collections are optional.

Where can I inspect the generated graph?

Open the JSON-LD inspection panel on each demo page or view the generated page source.

Does structured data guarantee search visibility?

No. It describes a page for eligible consumers, but search engines decide indexing, rankings, and rich-result display using many signals.

The graph is useful because it is honest about the page: it repeats the complete visible answers instead of adding hidden promotional copy.

Inspect generated JSON-LD

This is the same schema graph emitted by SEO.astro; the demo only formats it for readable inspection.

{"@context":"https://schema.org","@graph":[{"@type":"FAQPage","mainEntity":[{"@type":"Question","name":"Does SEO.astro create the JSON-LD script?","acceptedAnswer":{"@type":"Answer","text":"Yes. Pass a schema node or composed graph to SEO.astro and it serializes the graph safely for the document head."}},{"@type":"Question","name":"Can I use the component without content collections?","acceptedAnswer":{"@type":"Answer","text":"Yes. The explicit metadata props work for any Astro page; content collections are optional."}},{"@type":"Question","name":"Where can I inspect the generated graph?","acceptedAnswer":{"@type":"Answer","text":"Open the JSON-LD inspection panel on each demo page or view the generated page source."}},{"@type":"Question","name":"Does structured data guarantee search visibility?","acceptedAnswer":{"@type":"Answer","text":"No. It describes a page for eligible consumers, but search engines decide indexing, rankings, and rich-result display using many signals."}}]}]}