JSON-LD WebPage

This type can get a bit tricky in the fact that every URL is essentially a “web page.” The cool thing about this type is that it (may) yield a site name within Google’s search results as well as a search box if implemented correctly.

https://jsonld.com/web-page/

Features

  • Place in site-wide code

  • Auto-generates WebPage JSON-LD schema for every page

  • Pulls meta title and description automatically

    • Options to pull others

    • SEO preference before mechanical <title>?

    • Options to override?

Future

  • Template options

  • Callback option for modification

    • Or suppression

    • Passes object in, can be modified and returned

      • or null to suppress

Example

Why?

https://jsonld.com/web-page/

Last updated

Was this helpful?