Remove redundant category name and URL from JSON-LD generation in homepage, streamlining the structure for improved SEO.

This commit is contained in:
seb
2025-07-03 06:54:22 +02:00
parent 2dde151f87
commit 5d5c09abbf

View File

@@ -244,8 +244,6 @@ const generateHomepageJsonLd = (baseUrl, config, categories = []) => {
.map((category, index) => ({ .map((category, index) => ({
"@type": "ListItem", "@type": "ListItem",
"position": index + 1, "position": index + 1,
"name": category.name,
"url": `${baseUrl}/Kategorie/${category.seoName}`,
"item": { "item": {
"@type": "Thing", "@type": "Thing",
"name": category.name, "name": category.name,