Hwaro::Content::Seo::JsonLd
Instance methods
Generate both Article + BreadcrumbList + extended type JSON-LD
Generate Article JSON-LD for a page
Generate BreadcrumbList JSON-LD from page ancestors
Generate CollectionPage JSON-LD for listing pages (section indexes,
taxonomy index/term pages, author term pages). These are collections,
not articles, so they use schema.org CollectionPage with a name
instead of Article/headline, keeping JSON-LD consistent with the
og:type="website" emitted on the same page (gh#522 follow-up).
Generate FAQPage JSON-LD from page extra field "faq" Front matter format: schema_type = "FAQ" [[extra.faq]] question = "What is Hwaro?" answer = "A static site generator."
Auto-detect and generate schema based on page.extra["schema_type"]
Generate HowTo JSON-LD from page extra field "howto_steps" Front matter format: schema_type = "HowTo" [[extra.howto_steps]] name = "Step 1" text = "Do this first."
Generate Organization JSON-LD from site config
Generate Person JSON-LD from author info
Generate WebSite JSON-LD with optional SearchAction (sitelinks search box)