Repository navigation
docs: help search engines find and describe the landing page - #297
Merged
Merged
Conversation
The landing page went live on 22 October and doesn't show in web search yet: nothing linked to it, and it had no canonical URL, link preview or sitemap. - Add a canonical URL, Open Graph and Twitter tags, a 1200×630 preview image cut from the README hero, and SoftwareApplication structured data. - Add sitemap.xml to submit in Search Console. robots.txt is left out, because crawlers only read it at the root of seb-graf.github.io. - Use the words people search for: "menu bar" in the title and heading, OmniWM beside AeroSpace and yabai, and SketchyBar once in the description and the footer. - Link the website from the README.
The demo popups' titles were h4s right after the h1 and the h2s, so the page outline skipped levels for screen readers and search engines. They are mock app UI rather than sections, so they become paragraphs styled exactly like before.
|
🎉 This PR is included in version 0.8.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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.
Problem
The landing page at https://seb-graf.github.io/StableBar/ went live on 22 October, and it doesn't show up in web search yet. Nothing linked to it apart from the repo's homepage field. The page had no canonical URL, no link preview and no sitemap. It also never used the words people search for, "menu bar" or "status bar", and its outline skipped from the h1 to h4s inside the demo popups.
Changes
docs: help search engines find and describe the landing page
SoftwareApplicationstructured data with the download link, macOS 14, Apple silicon, the MIT license and a price of 0.site/images/social-card.pngis 1200×630, cut fromdocs/images/hero-dark.webparound the agenda popup.site/sitemap.xmlis new, for submitting in Search Console. There's norobots.txt, because crawlers only read one at the root ofseb-graf.github.io, not under/StableBar/.docs: keep the landing page's heading levels in order
h4s right after the h1 and the h2s. They're mock app UI, not page sections, so they're now<p class="hd">, styled by the same rule (.pop h4becomes.pop .hd). The outline now goes h1, then h2, then h3.Still to do outside the code
https://seb-graf.github.io/StableBar/as a URL-prefix property in Google Search Console and submit the sitemap, then import it into Bing Webmaster Tools. An HTML-file verification insite/works for a URL-prefix property.macos,menubar,status-bar,sketchybar,aerospaceandyabai. The repo has none.Testing
xmllintaccepts the sitemap, and every HTML tag is balanced.site/locally and rendered the old and new pages in headless Chrome at 1440, 800 and 390 px. The demo bar, its popups and the theme cards work as before.h4s and with the newp.hdtitles, the full page renders pixel-identical (0 differing pixels).The new link preview image:
Merging
Use a merge commit or a rebase merge, so both
docs:commits stay separate.Claude Opus 5.5 via Claude Code