From 40dcf6c02c6059cdbb7e9be593934812046e865a Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 23 Oct 2026 14:25:51 +0000 Subject: [PATCH] Serve the docs favicon from public/ so Slack can unfurl links Blume inlines a favicon in the docs root as a base64 data URI in every page's , ahead of the Open Graph tags. Slackbot only reads the first 32 KB of a page, so a large enough icon hides the tags from it. This site was still under the limit, but moving the icon to public/ makes Blume link it by URL like the other docs sites and keeps og:image near the top. --- apps/docs/{ => public}/favicon.png | Bin apps/docs/scripts/generate-brand.mjs | 5 +++-- 2 files changed, 3 insertions(+), 2 deletions(-) rename apps/docs/{ => public}/favicon.png (100%) diff --git a/apps/docs/favicon.png b/apps/docs/public/favicon.png similarity index 100% rename from apps/docs/favicon.png rename to apps/docs/public/favicon.png diff --git a/apps/docs/scripts/generate-brand.mjs b/apps/docs/scripts/generate-brand.mjs index ec9f0b3..af16bcb 100644 --- a/apps/docs/scripts/generate-brand.mjs +++ b/apps/docs/scripts/generate-brand.mjs @@ -2,7 +2,8 @@ // // node scripts/generate-brand.mjs // -// apps/docs/favicon.png transparent mark (browser tab) +// apps/docs/public/favicon.png transparent mark (browser tab, in public/ so Blume links it +// instead of inlining it ahead of the Open Graph tags) // apps/docs/public/logo-mark.svg transparent mark (header, hero particles, OG card) // apps/docs/public/logo.png transparent mark (kept for links to the old path) // icon.png (repo root) mark on a dark tile (NuGet / Marketplace) @@ -23,7 +24,7 @@ const toPng = (svg) => sharp(Buffer.from(svg)).png().toBuffer(); // 1. Transparent mark -> favicon + header/hero logo. await writeFile(resolve(docsRoot, "public/logo-mark.svg"), `${markSvg(256)}\n`); const transparent = await toPng(markSvg(256)); -await writeFile(resolve(docsRoot, "favicon.png"), transparent); +await writeFile(resolve(docsRoot, "public/favicon.png"), transparent); await writeFile(resolve(docsRoot, "public/logo.png"), transparent); // 2. Mark on a dark rounded tile -> NuGet / Umbraco Marketplace package icon.