Skip to content

fix(seo): use CollectionPage for /layer-2/networks JSON-LD#18102

Merged
wackerow merged 1 commit into
devfrom
fix/17724-collection-page-layer-2-networks
May 1, 2026
Merged

fix(seo): use CollectionPage for /layer-2/networks JSON-LD#18102
wackerow merged 1 commit into
devfrom
fix/17724-collection-page-layer-2-networks

Conversation

@nloureiro
Copy link
Copy Markdown
Contributor

@nloureiro nloureiro commented May 1, 2026

Summary

Updates /layer-2/networks/page-jsonld.tsx to use CollectionPage as the @type for the first @graph node, aligning with the pattern established in #17721 for /wallets/find-wallet.

CollectionPage is semantically more accurate than the generic WebPage for a list/comparison page.

Change

-        "@type": "WebPage",
+        "@type": "CollectionPage",

One line, in app/[locale]/layer-2/networks/page-jsonld.tsx (line 30 — the @graph[1] node, after BASE_GRAPH_NODES). The WebPage references inside the breadcrumb/itemListElement nodes are intentionally untouched.

Closes #17724.

Validation preview

https://validator.schema.org/#url=https%3A%2F%2Fdeploy-preview-18102.ethereum.it%2Flayer-2%2Fnetworks

Align with the pattern established in #17721 for /wallets/find-wallet — list/comparison pages should be typed as CollectionPage rather than WebPage.

Closes #17724
@netlify
Copy link
Copy Markdown

netlify Bot commented May 1, 2026

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit aabf07f
🔍 Latest deploy log https://app.netlify.com/projects/ethereumorg/deploys/69f440b814b99e000890ee0a
😎 Deploy Preview https://deploy-preview-18102.ethereum.it
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
7 paths audited
Performance: 67 (🟢 up 13 from production)
Accessibility: 96 (🟢 up 3 from production)
Best Practices: 100 (no change from production)
SEO: 98 (🔴 down 1 from production)
PWA: 59 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@wackerow wackerow merged commit 2a2a441 into dev May 1, 2026
11 checks passed
@wackerow wackerow deleted the fix/17724-collection-page-layer-2-networks branch May 1, 2026 16:41
@pettinarip pettinarip mentioned this pull request May 8, 2026
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.

fix(seo): align layer-2/networks JSON-LD with CollectionPage type

2 participants