Structured Data Demo

This page exists to exercise the page-level JSON-LD partials that ship with the theme, so their output is validated on every build rather than only when a real site happens to configure them.

Three schemas are emitted from the front matter above:

The site-level schemas (WebSite, Organization, LocalBusiness and Event) are configured in config/_default/params.toml and render on the home page.

View source on this page to inspect the generated application/ld+json blocks, or paste the URL into the Rich Results Test.

Frequently Asked Questions

Which Hugo version does this theme require?

Hugo 0.158.0 or later, extended edition.

Do I have to use npm to install the theme?

No. You can install it as an npm package, a Hugo Module, or a git submodule.

How do I enable structured data?

Add the matching block to your site params or page front matter.