diff --git a/app/(default)/cars/makes/[make]/page.tsx b/app/(default)/cars/makes/[make]/page.tsx index 6f76ba0..e6a1443 100644 --- a/app/(default)/cars/makes/[make]/page.tsx +++ b/app/(default)/cars/makes/[make]/page.tsx @@ -31,8 +31,8 @@ export const generateMetadata = async (props: { const { make } = params; const formattedMake = deslugify(make).toUpperCase(); - const title = `${formattedMake} Cars Overview`; - const description = `${formattedMake} cars overview. Historical car registrations trends and monthly breakdown by fuel and vehicle types in Singapore.`; + const title = `${formattedMake} Cars Overview: Registration Trends - ${SITE_TITLE}`; + const description = `${formattedMake} cars overview. Historical car registration trends and monthly breakdown by fuel and vehicle types in Singapore.`; // const images = `/api/og?title=Historical Trend&make=${make}`; const canonical = `/cars/makes/${make}`; @@ -82,8 +82,8 @@ const CarMakePage = async (props: { params: Params }) => { const formattedMake = deslugify(make).toUpperCase(); - const title = `${formattedMake} Cars Overview`; - const description = `${formattedMake} cars overview. Historical car registrations trends and monthly breakdown by fuel and vehicle types in Singapore.`; + const title = `${formattedMake} Cars Overview: Registration Trends - ${SITE_TITLE}`; + const description = `${formattedMake} cars overview. Historical car registration trends and monthly breakdown by fuel and vehicle types in Singapore.`; const structuredData: WithContext = { "@context": "https://schema.org", "@type": "WebPage", diff --git a/app/(default)/layout.tsx b/app/(default)/layout.tsx index 5332501..d982b58 100644 --- a/app/(default)/layout.tsx +++ b/app/(default)/layout.tsx @@ -14,15 +14,15 @@ import type { Metadata } from "next"; const inter = Inter({ subsets: ["latin"] }); -const title: string = SITE_TITLE; +const title = SITE_TITLE; const description: string = `Statistics for car trends in Singapore. Data provided by Land Transport Authority (LTA)`; const url = new URL(SITE_URL); export const metadata: Metadata = { metadataBase: url, title: { - template: `%s - ${SITE_TITLE}`, - default: SITE_TITLE, + template: `%s - ${title}`, + default: title, }, description, robots: { index: true, follow: true },