联系官方销售客服
1835022288
028-61286886
这几天对google的数据优化,在show.html中head
<!-- 结构化数据标记。 -->
<script type="application/ld+json">{
"@context": "http://schema.org",
"@type": "Article",
"headline": "正常",
"datePublished": 空
"image": "空",
"articleBody": "正常"
"author":空
}
</script>
源码:
<script type="application/ld+json">{ "@context": "http://schema.org", "@type": "Article", //文章模式 "headline": "{$meta_keywords}",//标题 "datePublished": {dr_date($t['_inputtime'], 'Y-m-d')},//时间 "image": "{dr_get_file($t['thumb'])}",//文章第一张图 "articleBody": "{$meta_description}"//内容简介 "author": {$t['author']}//作者 } </script>