diff --git a/public/images/og.jpg b/public/images/og.jpg deleted file mode 100644 index 88b0373..0000000 Binary files a/public/images/og.jpg and /dev/null differ diff --git a/public/images/PRISM_LOGO ONLY - COLOR.png b/public/images/prism_logo.png similarity index 100% rename from public/images/PRISM_LOGO ONLY - COLOR.png rename to public/images/prism_logo.png diff --git a/src/lib/og.ts b/src/lib/og.ts index 2f35b24..815e0dd 100644 --- a/src/lib/og.ts +++ b/src/lib/og.ts @@ -4,15 +4,12 @@ type OpenGraphType = { templateTitle?: string; logo?: string; }; -// !STARTERCONF This OG is generated from https://github.com/theodorusclarence/og -// Please clone them and self-host if your site is going to be visited by many people. -// Then change the url and the default logo. + export function openGraph({ siteName, templateTitle, description, - // !STARTERCONF Or, you can use my server with your own logo. - logo = 'https://og./images/logo.jpg', + logo = 'https://prism.rs/images/prism_logo.png', }: OpenGraphType): string { const ogLogo = encodeURIComponent(logo); const ogSiteName = encodeURIComponent(siteName.trim());