Updates logo and fixes OG images (#1096)

* Updates logo and fixes OG images

* Adds eslint disable description
This commit is contained in:
Michael Novotny
2023-07-22 13:14:53 -05:00
committed by GitHub
parent f4d542b4b8
commit 092d51b340
6 changed files with 18 additions and 36 deletions

View File

@@ -21,13 +21,6 @@ export async function generateMetadata({
title: page.seo?.title || page.title,
description: page.seo?.description || page.bodySummary,
openGraph: {
images: [
{
url: `/api/og?title=${encodeURIComponent(page.title)}`,
width: 1200,
height: 630
}
],
publishedTime: page.createdAt,
modifiedTime: page.updatedAt,
type: 'article'