Repository navigation
seo(astro-web): homepage WebSite JSON-LD and Organization logo (RH-10) - #107
Merged
Merged
Conversation
…-10) Google reads the site name from WebSite markup on the homepage. Join that block to Organization, use the trailing-slash canonical, and point the logo at logo.png. sameAs stays GitHub-only, and the visible homepage is unchanged. Co-authored-by: tomdmeredith <tomdmeredith@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Read the description constant from index.astro before evaluating Organization schema, so a copy edit fails the RH-10 test instead of being injected. Co-authored-by: tomdmeredith <tomdmeredith@users.noreply.github.com>
This branch was successfully deployed
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.
RH-10
Google names a site from WebSite JSON-LD on the homepage. Live
https://rhumb.dev/currently emits Organization only, withurlmissing the trailing slash andlogoset tofavicon.ico. This PR adds the WebSite block and fixes Organization so a brand query can resolve the site name Rhumb.Homepage head/schema only. No RH-09 title or meta. No new visible copy, proof chips, or public truth numbers (
999/435/28/87).sameAsstays GitHub only.Base is
mainata9811fc(RH-07bc).index.astrohad not drifted since957abf9, so the staged patch applied cleanly.Homepage JSON-LD
jsonLdBlocksorder is WebSite, Organization, then the existing agent-route TechArticle. The diff inpackages/astro-web/src/pages/index.astrois the source of those blocks. A local Astro render of/(HTTP 200) emitted them as the first twoapplication/ld+jsonscripts:WebSite:
{ "@context": "https://schema.org", "@type": "WebSite", "@id": "https://rhumb.dev/#website", "name": "Rhumb", "alternateName": ["rhumb.dev", "Rhumb Labs"], "url": "https://rhumb.dev/", "inLanguage": "en", "publisher": { "@id": "https://rhumb.dev/#organization" } }Organization:
{ "@context": "https://schema.org", "@type": "Organization", "@id": "https://rhumb.dev/#organization", "name": "Rhumb", "alternateName": ["Rhumb Labs", "rhumb.dev"], "url": "https://rhumb.dev/", "logo": { "@type": "ImageObject", "url": "https://rhumb.dev/logo.png", "width": 512, "height": 512 }, "sameAs": ["https://github.com/supertrained/rhumb"] }The Organization description and
knowsAboutlist are unchanged. The favicon<link>in the layout is still/favicon.ico; it is no longer the Organization logo.Verification
npm testinpackages/astro-web: RH-07bc catalog paging still passes (public integers stay999/435/28/87).tests/homepage-jsonld.test.tslocks the brand blocks, the 512×512logo.pngon disk, GitHub-onlysameAs, and the existing title plus visible sections./: title remainsRhumb | From task to trusted tool call, canonical ishttps://rhumb.dev/, and the proof chips still read 999 services scored, 435 capabilities mapped, 28 callable providers. JSON-LD contains nofavicon.ico, npm, or X URL.HEAD https://rhumb.dev/logo.pngis HTTP 200, and the committed PNG is 512×512.Proof bar after merge
On
https://rhumb.dev/, run Rich Results Test and the Schema Markup Validator. Expect WebSite and Organization, with no errors. Then request indexing for the homepage in Search Console. Schema helps Google name and connect the site; it does not by itself move the "rhumb" ranking above dictionary results.