Skip to content

Commit

Permalink
Remove properties from structured data
Browse files Browse the repository at this point in the history
  • Loading branch information
ruchernchong committed Sep 29, 2024
1 parent 8ca9719 commit 3ab01d2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 35 deletions.
17 changes: 0 additions & 17 deletions app/cars/[type]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
// {
Expand Down
19 changes: 1 addition & 18 deletions app/vehicle-type/[type]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
// {
Expand Down

0 comments on commit 3ab01d2

Please sign in to comment.