diff --git a/src/app/[locale]/layout.tsx b/src/app/[locale]/layout.tsx index c252fdd5..93c0c683 100644 --- a/src/app/[locale]/layout.tsx +++ b/src/app/[locale]/layout.tsx @@ -36,6 +36,9 @@ export async function generateMetadata({ de: 'Open Source, aber richtig - Open Elements ist ein modernes Unternehmen mit einem Fokus auf Open Source und Java', }; + const feedTitle = + locale === 'de' ? 'Open Elements – Artikel' : 'Open Elements – Articles'; + return { title: titles[locale as keyof typeof titles] || titles.en, description: @@ -47,6 +50,11 @@ export async function generateMetadata({ 'open source Support', 'Java Support', ], + alternates: { + types: { + 'application/rss+xml': [{ url: '/feed.xml', title: feedTitle }], + }, + }, openGraph: { type: 'website', url: @@ -92,6 +100,7 @@ export default async function LocaleLayout({ suppressHydrationWarning>
+