Skip to content

Improve JSON-LD structured data - #496

Closed
albinazs wants to merge 2 commits into
wagtail:mainfrom
albinazs:jsonld-improvements
Closed

albinazs wants to merge 2 commits into
wagtail:mainfrom
albinazs:jsonld-improvements

Conversation

@albinazs

@albinazs albinazs commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Fixes #487

Description

Reported in #485 ("JSON-LD structured data - Required", "JSON-LD entity linking (sameAs) - Recommended")

Replaces the hand-built WebPage JSON-LD with one linked @graph on every page:

  • Organization (Wagtail): logo, plus sameAs links to the profiles wagtail.org links to.
  • WebSite (the guide): name, description, published by Wagtail.
  • SoftwareSourceCode (Wagtail CMS): sameAs links to GitHub, Wikipedia and Wikidata so search engines and AI tools can tell the CMS apart from the bird. It isn't a SoftwareApplication because Google would flag that as a broken rich result without ratings or reviews.
  • WebPage (homepage) or TechArticle (content pages): headline, description, URL, language, dates.
  • BreadcrumbList on content pages, built from published ancestors only.

Tested with https://validator.schema.org/ and https://search.google.com/test/rich-results

AI usage

AI-assisted issue investigation, code generation, and PR description.

@albinazs
albinazs requested a review from thibaudcolas October 5, 2026 06:39
Signed-off-by: Thibaud Colas <thibaudcolas@gmail.com>
@thibaudcolas

Copy link
Copy Markdown
Member

I had to merge manually - thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JSON LD metadata for site pages

2 participants