【发布时间】:2019-05-28 06:34:56
【问题描述】:
我有一个常规的投资组合网站(纯 HTML),该网站包含一个导航,其中包含指向 »about«、»imprint« 和 »contact« 的链接,因此生成的站点地图是:
index
|
+-------+----+----+--------+
| | | |
about contact imprint projects
|
+-----+--+--+-----+
| | | |
A B C D
所以在index (/) 页面上,我想像这样包含 JSON-LD:
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebSite",
…
…
}
</script>
如何用 Schema.org 表示“关于”、“联系人”……的链接?会:
{
…
"@type": "WebSite",
"links":
[
{
"@type": "WebSite",
"@id": "https://…"
}
]
}
对吗?
【问题讨论】:
标签: schema.org json-ld