Ahrefs 96->100

This commit is contained in:
Timo Knuth
2026-01-15 10:14:40 +01:00
parent 0a02876ea4
commit 83ea141230
17 changed files with 694 additions and 579 deletions

View File

@@ -10,10 +10,10 @@ export default function SeoJsonLd({ data }: SeoJsonLdProps) {
return (
<>
{jsonLdArray.map((item, index) => {
const schema = {
'@context': 'https://schema.org',
...item,
};
// Only add @context if it doesn't already exist in the item
const schema = (item as any)['@context']
? item
: { '@context': 'https://schema.org', ...item };
return (
<script