mirror of
https://github.com/vercel/commerce.git
synced 2025-05-20 16:36:59 +00:00
fix: remove seo attributes from pdp
This commit is contained in:
parent
28c0fe95ed
commit
10381c0110
@ -28,8 +28,8 @@ export async function generateMetadata({
|
|||||||
const hide = !product.tags.includes(HIDDEN_PRODUCT_TAG);
|
const hide = !product.tags.includes(HIDDEN_PRODUCT_TAG);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
title: product.seo?.title || product.title,
|
title: product.title,
|
||||||
description: product.seo?.description || product.description,
|
description: product.description,
|
||||||
robots: {
|
robots: {
|
||||||
index: hide,
|
index: hide,
|
||||||
follow: hide,
|
follow: hide,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user