GH 增加结构化标签 Article
parent
a7a718d399
commit
033bc81938
@ -0,0 +1,28 @@
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@type": "Article",
|
||||
"mainEntityOfPage": {
|
||||
"@type": "WebPage",
|
||||
"@id": "https://www.asiahighlights.com<?php echo $information->ic_url; ?>"
|
||||
},
|
||||
"headline": "<?php echo $information->ic_seo_title; ?>",
|
||||
"image": [
|
||||
"https://images.asiahighlights.com<?php echo $information->ic_photo; ?>"
|
||||
],
|
||||
"datePublished": "<?php echo $information->is_datetime; ?>",
|
||||
"dateModified": "<?php echo date('Y-m-d\TH:i:s'); ?>",
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"name": "<?php echo $author->OPI_FirstName; ?>"
|
||||
},
|
||||
"publisher": {
|
||||
"@type": "Organization",
|
||||
"name": "China Highlights",
|
||||
"logo": {
|
||||
"@type": "ImageObject",
|
||||
"url": "https://data.asiahighlights.com/pic/logo-ah.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
Loading…
Reference in New Issue