Have you read the Contributing Guidelines on issues?
Prerequisites
Description
Breadcrumbs in the html include the top-level category, but the OG tag doesn't. In the screenshot, you can see that the HTML breadcrumbs read Synchronize documents across multiple nodes (P2P) > Replicator, while the OG tag only includes Replicator.
<script type="application/ld+json" data-rh="true">{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Replicator","item":"https://docs.source.network/defradb/p2p/replicator"}]}</script>
Reproducible demo
The screenshot is a preview from unpublished content, but you can see it live in a similar case here.
Steps to reproduce
The sidebar is such defined:
{
type: 'category',
label: 'Synchronize documents across multiple nodes (P2P)',
items: [
'p2p/index',
'p2p/pub-sub',
'p2p/replicator',
]
},
Expected behavior
The OG tag for breadcrumbs should include the base category, as the HTML does.
Actual behavior
Only the last page level is shown.
Your environment
No response
Self-service
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clearoryarn clearcommand.rm -rf node_modules yarn.lock package-lock.jsonand re-installing packages.Description
Breadcrumbs in the html include the top-level category, but the OG tag doesn't. In the screenshot, you can see that the HTML breadcrumbs read
Synchronize documents across multiple nodes (P2P) > Replicator, while the OG tag only includesReplicator.Reproducible demo
The screenshot is a preview from unpublished content, but you can see it live in a similar case here.
Steps to reproduce
The sidebar is such defined:
Expected behavior
The OG tag for breadcrumbs should include the base category, as the HTML does.
Actual behavior
Only the last page level is shown.
Your environment
No response
Self-service