Repository navigation
Conversation
Google recommends favicons of at least 48x48 pixels for proper display in search results. The previous 32x32 favicon was below this threshold. Changes: - Add favicon-48.png (48x48) as primary favicon - Add apple-touch-icon.png (180x180) for iOS home screen - Update base.html to include sizes attributes for browser selection Co-Authored-By: Claude <[email protected]>
max-sixty
pushed a commit
that referenced
this pull request
Nov 6, 2026
The Astro rebuild (#3866) moved `favicon-48.png` and `apple-touch-icon.png` into `docs/public/` but dropped the `<link>` tags that #627 had added to the old Zola base template. Since then every page emits only `<link rel="shortcut icon" href="/favicon.png">` (32×32). This PR adds the two links back through Starlight's `head` option, so the larger icons are discoverable again. This restores metadata. It doesn't fix the generic globe in Google Search (#4718), because nothing establishes the cause. [Google's favicon guidance](https://developers.google.com/search/docs/appearance/favicon-in-search) accepts a square icon of at least 8×8 and supports `shortcut icon`, so the existing 32×32 icon is not inherently ineligible. Advertising a 48×48 icon follows Google's recommendation for a larger size, but whether it changes the search result is unverified. A new `built-site.test.mjs` case requires both links on every rendered page, so they can't drop out silently again. It fails on the current build and passes with this change. `npm run check`, `npm test`, and the rest of `test:site` pass locally. The exception is the existing social-card asset check, which needs the `worktrunk-assets` clone that CI fetches and this sandbox doesn't have. Refs #4718 — automated triage --------- Co-authored-by: worktrunk-bot <[email protected]>
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
sizesattributes for browser selectionTest plan