add favicon
Some checks failed
ci / site (push) Has been cancelled
publish-image / publish (push) Has been cancelled

This commit is contained in:
2026-02-10 07:09:12 -05:00
parent b61146b145
commit 7bd51837de
3 changed files with 3 additions and 3 deletions

BIN
site/public/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -11,7 +11,7 @@ const CACHE_SHELL = `shell-${CACHE_VERSION}`;
const CACHE_PAGES = `pages-${CACHE_VERSION}`;
const CACHE_MEDIA = `media-${CACHE_VERSION}`;
const SHELL_ASSETS = ["/", "/styles/global.css", "/favicon.svg", "/favicon.ico", "/robots.txt"];
const SHELL_ASSETS = ["/", "/styles/global.css", "/favicon.png", "/favicon.png", "/robots.txt"];
// Keep media cache bounded so we don't grow indefinitely.
const MAX_MEDIA_ENTRIES = 80;

View File

@@ -37,8 +37,8 @@ const canonicalUrl = `${siteUrl}${canonicalPath.startsWith("/") ? canonicalPath
<meta name="twitter:description" content={description} />
{ogImageUrl ? <meta name="twitter:image" content={ogImageUrl} /> : null}
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="icon" href="/favicon.ico" />
<link rel="icon" type="image/svg+xml" href="/favicon.png" />
<link rel="icon" href="/favicon.png" />
<!-- Display-friendly font (swap to avoid blocking render). -->
<link rel="preconnect" href="https://fonts.googleapis.com" />