Skip to content

Commit

Permalink
Merge branch 'main' into release/v2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ruchernchong committed Dec 7, 2024
2 parents 71bc881 + efb0f12 commit 6a47a1a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions app/(default)/cars/makes/[make]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}`;

Expand Down Expand Up @@ -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<WebPage> = {
"@context": "https://schema.org",
"@type": "WebPage",
Expand Down
6 changes: 3 additions & 3 deletions app/(default)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down

0 comments on commit 6a47a1a

Please sign in to comment.