我关注谷歌教程对于谷歌搜索结果中的搜索框,就像上面的屏幕截图
我在我的网站上添加了此代码
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebSite",
"url": "https://www.example.com/",
"potentialAction": {
"@type": "SearchAction",
"target": "https://www.example.com/search/node/{keys}",
"query-input": "required name=keys"
}
}
</script>
我做错了吗?我的网站使用Drupal 7。