Docs: add per-page social tags, breadcrumbs and widget noindex - #29
Merged
Merged
Conversation
Add a Starlight Head override that emits twitter:title, twitter:description and og:image:alt on every docs page, plus BreadcrumbList structured data derived from the page path. Replace the landing page's single SoftwareApplication block with a @graph carrying Organization, WebSite and an enriched SoftwareApplication that names softwareVersion, downloadUrl, installUrl and releaseNotes. Name self-hosting, open source and Docker in the landing hero and section copy, and make the call-to-action link text describe its target. Inject robots noindex into the synced widget previews, which are reachable but carry no canonical and are absent from the sitemap. Link the repository release feed from the changelog page.
Deploying stackyard-docs with
|
| Latest commit: |
ba71493
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://920e8bc3.stackyard-docs.pages.dev |
| Branch Preview URL: | https://docs-seo-metadata.stackyard-docs.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Headoverride that emitstwitter:title,twitter:descriptionandog:image:alton every docs page, andBreadcrumbListstructured data built from the page path.SoftwareApplicationblock with a@graphcarryingOrganization,WebSiteand aSoftwareApplicationthat namessoftwareVersion,downloadUrl,installUrlandreleaseNotes.robots noindexinto the synced widget previews insync-widgets.mjs; they are crawlable but carry no canonical and are not in the sitemap.Testing
All green:
npm run buildandnpm run checkboth pass. Landing page measured in Chrome at 1440, 1024, 768 and 390 in both colour schemes: no horizontal overflow, call-to-action buttons stay on one row, no clipped text. Verified the 14 widget previews carrynoindexand that breadcrumb, twitter and og tags are present on the built docs pages.Checklist
npm run buildandnpm run checkboth pass.https://claude.ai/code/session_01G4Wsmg3QhAh5chSnQkK3aC