bugfixing
This commit is contained in:
parent
739fee2c6d
commit
fb577fdfad
@ -7,37 +7,44 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
{@html `<script type="application/ld+json">
|
{@html `<script type="application/ld+json">
|
||||||
[{
|
[
|
||||||
|
{
|
||||||
"@context": "https://schema.org",
|
"@context": "https://schema.org",
|
||||||
"@type": "Article",
|
"@type": "Article",
|
||||||
"headline": "${title}",
|
"headline": "${title}",
|
||||||
${
|
${
|
||||||
image &&
|
image
|
||||||
`"image": [
|
? `"image": [
|
||||||
"${image}"
|
"${image}"
|
||||||
],`
|
],`
|
||||||
|
: ""
|
||||||
}
|
}
|
||||||
"datePublished": "${datePublished}",
|
"datePublished": "${datePublished}",
|
||||||
"dateModified": "${dateModified}",
|
"dateModified": "${dateModified}",
|
||||||
"author": [{
|
"author": [
|
||||||
|
{
|
||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "Jack Landon",
|
"name": "Jack Landon",
|
||||||
"url": "https://stocknear.com/about"
|
"url": "https://stocknear.com/about"
|
||||||
}]
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"@context": "https://schema.org",
|
"@context": "https://schema.org",
|
||||||
"@type": "BreadcrumbList",
|
"@type": "BreadcrumbList",
|
||||||
"itemListElement": [{
|
"itemListElement": [
|
||||||
|
{
|
||||||
"@type": "ListItem",
|
"@type": "ListItem",
|
||||||
"position": 1,
|
"position": 1,
|
||||||
"name": "Blog",
|
"name": "Blog",
|
||||||
"item": "https://stocknear.com/${url}
|
"item": "https://stocknear.com/${url}"
|
||||||
},{
|
},
|
||||||
|
{
|
||||||
"@type": "ListItem",
|
"@type": "ListItem",
|
||||||
"position": 2,
|
"position": 2,
|
||||||
"name": "${title}"
|
"name": "${title}"
|
||||||
}]
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
</script>`}
|
</script>`}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user