diff --git a/packages/gitbook/src/routes/ogimage.tsx b/packages/gitbook/src/routes/ogimage.tsx
index df6d5ced6..f974b8d14 100644
--- a/packages/gitbook/src/routes/ogimage.tsx
+++ b/packages/gitbook/src/routes/ogimage.tsx
@@ -164,22 +164,22 @@ export async function serveOGImage(baseContext: GitBookSiteContext, params: Page
}
const favicon = await (async () => {
- if ('icon' in customization.favicon)
- return (
-
- );
- if ('emoji' in customization.favicon)
- return (
-
- {String.fromCodePoint(Number.parseInt(`0x${customization.favicon.emoji}`))}
-
- );
+ // if ('icon' in customization.favicon)
+ // return (
+ //
+ // );
+ // if ('emoji' in customization.favicon)
+ // return (
+ //
+ // {String.fromCodePoint(Number.parseInt(`0x${customization.favicon.emoji}`))}
+ //
+ // );
const src = linker.toAbsoluteURL(
linker.toPathInSpace(`~gitbook/icon?size=medium&theme=${customization.themes.default}`)
);
@@ -206,7 +206,7 @@ export async function serveOGImage(baseContext: GitBookSiteContext, params: Page
{/*
*/}
{/* Logo */}
- {customization.header.logo ? (
+ {customization.header.logo && 0 ? (
![Logo]()