diff --git a/app/[locale]/opengraph-image.tsx b/app/[locale]/opengraph-image.tsx index ae2d52168..0d323fdc0 100644 --- a/app/[locale]/opengraph-image.tsx +++ b/app/[locale]/opengraph-image.tsx @@ -11,11 +11,6 @@ export default async function Image({ params }: { params: Promise<{ locale: stri const { locale } = await params; const t = await getTranslations({ locale, namespace: 'Index.meta' }); - let pageTitle = t('title'); - if (pageTitle.startsWith('E-TIB GmbH | ')) { - pageTitle = pageTitle.substring('E-TIB GmbH | '.length); - } - const fonts = await getOgFonts(); const bg = getOgBackground(); const logo = getOgLogo(); @@ -23,7 +18,6 @@ export default async function Image({ params }: { params: Promise<{ locale: stri return new ImageResponse(