Skip to content

docs: help search engines find and describe the landing page - #297

Merged
M4n0x merged 2 commits into
mainfrom
docs/landing-page-seo
Oct 23, 2026
Merged

M4n0x merged 2 commits into
mainfrom
docs/landing-page-seo

Conversation

@M4n0x

@M4n0x M4n0x commented Oct 23, 2026

Copy link
Copy Markdown
Collaborator

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

  • Search result text: the title becomes "StableBar: a native, customizable menu bar for macOS", and the description covers free and open source, an alternative to SketchyBar, themes, widgets, popups and AeroSpace, yabai or OmniWM workspaces (144 characters, so Google doesn't cut it off).
  • Hidden tags: a canonical URL, Open Graph and Twitter tags, and SoftwareApplication structured data with the download link, macOS 14, Apple silicon, the MIT license and a price of 0.
  • Preview image: site/images/social-card.png is 1200×630, cut from docs/images/hero-dark.webp around the agenda popup.
  • Sitemap: site/sitemap.xml is new, for submitting in Search Console. There's no robots.txt, because crawlers only read one at the root of seb-graf.github.io, not under /StableBar/.
  • Visible wording: the heading says "menu bar for macOS". OmniWM now appears next to AeroSpace and yabai (the README already lists it), with AeroSpace and OmniWM sharing one line in the Window managers list. The footer names SketchyBar once.
  • README: a "Website" link next to Download, so the site has an inbound link from the repo page.

docs: keep the landing page's heading levels in order

  • The demo popup titles ("Today", "System", "Controls") were 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 h4 becomes .pop .hd). The outline now goes h1, then h2, then h3.

Still to do outside the code

  • Add 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 in site/ works for a URL-prefix property.
  • Add repo topics such as macos, menubar, status-bar, sketchybar, aerospace and yabai. The repo has none.

Testing

  • The JSON-LD parses, xmllint accepts the sitemap, and every HTML tag is balanced.
  • I served 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.
  • With the h4s and with the new p.hd titles, the full page renders pixel-identical (0 differing pixels).
  • Below 1080 px the heading wraps to four lines instead of three ("A native, / configurable / menu bar / for macOS."), because its measure is capped at 12 characters there. At desktop widths it stays on two lines.
  • I haven't seen the link preview on a real service, because it needs the deployed page. Once this is merged, the Open Graph tags can be checked with a link in Slack or with a debugger such as opengraph.xyz.
Before After
Hero before Hero after
Configure all of it before Configure all of it after
Footer before Footer after

The new link preview image:

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

M4n0x added 2 commits October 23, 2026 17:30
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.
@M4n0x
M4n0x requested a review from Seb-GRAF as a code owner October 23, 2026 15:32
@M4n0x
M4n0x merged commit 964117b into main Oct 23, 2026
7 checks passed
@M4n0x
M4n0x deleted the docs/landing-page-seo branch October 23, 2026 15:38
@stablebar-releases

Copy link
Copy Markdown

🎉 This PR is included in version 0.8.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant