add favicon
This commit is contained in:
BIN
site/public/favicon.png
Normal file
BIN
site/public/favicon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
@@ -11,7 +11,7 @@ const CACHE_SHELL = `shell-${CACHE_VERSION}`;
|
|||||||
const CACHE_PAGES = `pages-${CACHE_VERSION}`;
|
const CACHE_PAGES = `pages-${CACHE_VERSION}`;
|
||||||
const CACHE_MEDIA = `media-${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.
|
// Keep media cache bounded so we don't grow indefinitely.
|
||||||
const MAX_MEDIA_ENTRIES = 80;
|
const MAX_MEDIA_ENTRIES = 80;
|
||||||
|
|||||||
@@ -37,8 +37,8 @@ const canonicalUrl = `${siteUrl}${canonicalPath.startsWith("/") ? canonicalPath
|
|||||||
<meta name="twitter:description" content={description} />
|
<meta name="twitter:description" content={description} />
|
||||||
{ogImageUrl ? <meta name="twitter:image" content={ogImageUrl} /> : null}
|
{ogImageUrl ? <meta name="twitter:image" content={ogImageUrl} /> : null}
|
||||||
|
|
||||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
<link rel="icon" type="image/svg+xml" href="/favicon.png" />
|
||||||
<link rel="icon" href="/favicon.ico" />
|
<link rel="icon" href="/favicon.png" />
|
||||||
|
|
||||||
<!-- Display-friendly font (swap to avoid blocking render). -->
|
<!-- Display-friendly font (swap to avoid blocking render). -->
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||||
|
|||||||
Reference in New Issue
Block a user