diff --git a/app/[lang]/news/[slug]/page.tsx b/app/[lang]/news/[slug]/page.tsx index bbf42b8..4bb7821 100644 --- a/app/[lang]/news/[slug]/page.tsx +++ b/app/[lang]/news/[slug]/page.tsx @@ -8,7 +8,7 @@ export async function generateMetadata({ params }: { params: Promise<{ lang: str // Dynamic title based on slug if possible, or just section title return { title: `News - Ayris Apart`, - description: dict.news_page.subtitle, + description: dict.news_page.excerpt, } } diff --git a/app/[lang]/news/page.tsx b/app/[lang]/news/page.tsx index ec9fe68..c85c1fa 100644 --- a/app/[lang]/news/page.tsx +++ b/app/[lang]/news/page.tsx @@ -1,4 +1,4 @@ -import { getDictionary } from "@/dictionaries/get-dictionary" +import { getDictionary } from "@/dictionaries/get-dictionary" import NewsClient from "./NewsClient" export async function generateMetadata({ params }: { params: Promise<{ lang: string }> }) { @@ -6,7 +6,7 @@ export async function generateMetadata({ params }: { params: Promise<{ lang: str const dict = await getDictionary(lang as 'en' | 'tr') return { title: `${dict.news_page.title} - Ayris Apart`, - description: dict.news_page.subtitle, + description: dict.news_page.excerpt, } }