Content correction updated
This commit is contained in:
parent
1555170b92
commit
6c133601f1
@ -14,14 +14,14 @@ export async function generateMetadata({ params }) {
|
||||
|
||||
if (!service) {
|
||||
return {
|
||||
title: "Accident Services | MySite",
|
||||
title: "Accident Services",
|
||||
description: "Explore our accident-related services",
|
||||
};
|
||||
}
|
||||
|
||||
return {
|
||||
title: service.metaTitle || service.title,
|
||||
description: service.metaDiscription || service.shortDesc,
|
||||
description: service.metaDescription || service.shortDesc,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@ -14,14 +14,14 @@ export async function generateMetadata({ params }) {
|
||||
|
||||
if (!service) {
|
||||
return {
|
||||
title: "Area of Injury Not Found – Rapharehab Clinic",
|
||||
title: "Area of Injury Not Found",
|
||||
description: "The requested area of injury page could not be found.",
|
||||
};
|
||||
}
|
||||
|
||||
return {
|
||||
title: `${service.metaTitle} – Rapharehab Clinic`,
|
||||
description: service.metaDiscription || "Expert physiotherapy and pain relief treatments.",
|
||||
title: `${service.metaTitle}`,
|
||||
description: service.metaDiscription,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@ -14,14 +14,14 @@ export async function generateMetadata({ params }) {
|
||||
|
||||
if (!service) {
|
||||
return {
|
||||
title: "Service Not Found – MySite",
|
||||
title: "Service Not Found",
|
||||
description: "The requested service could not be found.",
|
||||
};
|
||||
}
|
||||
|
||||
return {
|
||||
title: `${service.metaTitle || service.shortTitle || service.title} – MySite`,
|
||||
description: service.metaDiscription || service.shortDesc || "Explore our services in detail.",
|
||||
title: `${service.metaTitle || service.shortTitle || service.title}`,
|
||||
description: service.metaDiscription || service.shortDesc,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@ -12,11 +12,11 @@ export async function generateStaticParams() {
|
||||
export async function generateMetadata({ params }) {
|
||||
const service = Rehabilitation.find((item) => item.slug === params.slug);
|
||||
|
||||
if (!service) return { title: "Rehabilitation | MySite", description: "Explore our rehabilitation services" };
|
||||
if (!service) return { title: "Rehabilitation", description: "Explore our rehabilitation services" };
|
||||
|
||||
return {
|
||||
title: service.metaTitle || service.title,
|
||||
description: service.metaDiscription || service.shortDesc,
|
||||
description: service.metaDescription || service.shortDesc,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user