From 3ab01d20731933de314bb8eeb0db2b37056ff95d Mon Sep 17 00:00:00 2001 From: Ru Chern Chong Date: Mon, 30 Sep 2024 02:10:02 +0800 Subject: [PATCH] Remove properties from structured data --- app/cars/[type]/page.tsx | 17 ----------------- app/vehicle-type/[type]/page.tsx | 19 +------------------ 2 files changed, 1 insertion(+), 35 deletions(-) diff --git a/app/cars/[type]/page.tsx b/app/cars/[type]/page.tsx index 1a5315a..b62c5d4 100644 --- a/app/cars/[type]/page.tsx +++ b/app/cars/[type]/page.tsx @@ -104,23 +104,6 @@ const CarsByFuelTypePage = async ({ params, searchParams }: Props) => { "@type": "Organization", name: SITE_TITLE, }, - variableMeasured: [ - { - "@type": "PropertyValue", - name: "Make", - description: "Car manufacturer", - }, - { - "@type": "PropertyValue", - name: "Count", - description: `Number of ${type} car registrations`, - }, - { - "@type": "PropertyValue", - name: "Market Share by Type", - description: `Percentage market share of ${type} car registrations by type`, - }, - ], // TODO: For future use // distribution: [ // { diff --git a/app/vehicle-type/[type]/page.tsx b/app/vehicle-type/[type]/page.tsx index 394726f..4c0a65f 100644 --- a/app/vehicle-type/[type]/page.tsx +++ b/app/vehicle-type/[type]/page.tsx @@ -99,28 +99,11 @@ const CarsByVehicleTypePage = async ({ params, searchParams }: Props) => { "@type": "Dataset", name: `${capitaliseWords(type)} Car Registrations in Singapore`, description: `Overview and registration statistics for ${type} cars in Singapore by vehicle type`, - url: `${SITE_URL}/cars/${type}`, + url: `${SITE_URL}/vehicle-type/${type}`, creator: { "@type": "Organization", name: SITE_TITLE, }, - variableMeasured: [ - { - "@type": "PropertyValue", - name: "Make", - description: "Car manufacturer", - }, - { - "@type": "PropertyValue", - name: "Count", - description: `Number of ${type} car registrations`, - }, - { - "@type": "PropertyValue", - name: "Market Share by Type", - description: `Percentage market share of ${type} car registrations by type`, - }, - ], // TODO: For future use // distribution: [ // {