Files
worktrunk/docs/tests
Worktrunk Botandworktrunk-bot 1a40681744 fix(docs): restore 48px favicon and apple-touch-icon links (#4719)
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 <254187624+worktrunk-bot@users.noreply.github.com>
2026-11-06 02:14:54 -08:00
..