Remove hasOfferCatalog from JSON-LD generation in homepage, streamlining the structure and improving SEO data accuracy.

This commit is contained in:
seb
2025-07-03 07:17:23 +02:00
parent 341d575c83
commit 0d92495914

View File

@@ -310,19 +310,6 @@ const generateHomepageJsonLd = (baseUrl, config, categories = []) => {
"name": "Germany"
},
"areaServed": "DE",
"hasOfferCatalog": {
"@type": "OfferCatalog",
"name": "Growshop Produkte",
"itemListElement": categories.filter(cat => cat.seoName).slice(0, 10).map(category => ({
"@type": "Offer",
"itemOffered": {
"@type": "ProductGroup",
"name": category.name,
"url": `${baseUrl}/Kategorie/${category.seoName}`,
"description": `${category.name} Kategorie - Entdecken Sie unsere Produkte`
}
}))
},
"contactPoint": [
{
"@type": "ContactPoint",