Remove redundant category name and URL from JSON-LD generation in homepage, streamlining the structure for improved SEO.
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user