diff --git a/components/Blog/BlogsData/page.jsx b/components/Blog/BlogsData/page.jsx index a25a4a3..f3261be 100644 --- a/components/Blog/BlogsData/page.jsx +++ b/components/Blog/BlogsData/page.jsx @@ -162,59 +162,59 @@ const BlogsData = ({ dataCaetgories, data }) => {
- +

- سنتلا + فولیکا

- +

- فیری + آردن

- +

- سراوی + گلدن رز

- +

- پیکسی + کدکس

- +

- سیمپل + بیول

- +

- مرحبا + میبلین

- +

- نارس + شون

- +

- توکوبو + مای

diff --git a/src/app/categories/[...id]/page.jsx b/src/app/categories/[...id]/page.jsx index 3d8c6e9..beff219 100644 --- a/src/app/categories/[...id]/page.jsx +++ b/src/app/categories/[...id]/page.jsx @@ -6,7 +6,7 @@ export async function generateMetadata({ params }) { const products = await fetchProducts(params?.["id"]?.[0]); return { - title: decodedName, + title: products.seo.title != "" ? products.seo.title : decodedName, description: products.seo.description != "" ? products.seo.description @@ -25,7 +25,7 @@ export async function generateMetadata({ params }) { canonical: `https://www.vesmeh.com/categories/${params.id[0]}/${decodedName}`, }, openGraph: { - title: decodedName, + title: products.seo.title != "" ? products.seo.title : decodedName, description: products.seo.description != "" ? products.seo.description @@ -39,7 +39,7 @@ export async function generateMetadata({ params }) { products.seo.description != "" ? products.seo.description : ` خرید ${decodedName}| برندهای متنوع با پایین ترین قیمت | فروشگاه اینترنتی وسمه`, - title: decodedName, + title: products.seo.title != "" ? products.seo.title : decodedName, creator: "@vesmehstore", }, }; diff --git a/src/app/layout.jsx b/src/app/layout.jsx index ff9ee48..220c310 100644 --- a/src/app/layout.jsx +++ b/src/app/layout.jsx @@ -16,8 +16,7 @@ export const metadata = { ], }, title: { - template: - "%s | خرید لوازم آرایشی و بهداشتی قیمت مناسب و اصل | فروشگاه اینترنتی وسمه", + template: "", default: "فروشگاه اینترنتی وسمه - خرید لوازم آرایشی و بهداشتی قیمت مناسب و اصل", },