Remove hasOfferCatalog from JSON-LD generation in homepage, streamlining the structure and improving SEO data accuracy.
This commit is contained in:
@@ -310,19 +310,6 @@ const generateHomepageJsonLd = (baseUrl, config, categories = []) => {
|
|||||||
"name": "Germany"
|
"name": "Germany"
|
||||||
},
|
},
|
||||||
"areaServed": "DE",
|
"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": [
|
"contactPoint": [
|
||||||
{
|
{
|
||||||
"@type": "ContactPoint",
|
"@type": "ContactPoint",
|
||||||
|
|||||||
Reference in New Issue
Block a user