diff --git a/aio/tools/transforms/templates/api/base.template.html b/aio/tools/transforms/templates/api/base.template.html index 37a5e323ed369e..912b336bd80ed5 100644 --- a/aio/tools/transforms/templates/api/base.template.html +++ b/aio/tools/transforms/templates/api/base.template.html @@ -10,7 +10,7 @@ "@type": "BreadcrumbList", "itemListElement": [ {%- for crumb in doc.breadCrumbs %}{$ comma() $} - { "@type": "ListItem", "position": {$ loop.index $}, "item": { "@id": "https://angular.io/{$ crumb.path $}", "name": "{$ crumb.text $}" } }{% endfor %} + { "@type": "ListItem", "position": {$ loop.index $}, "item": { "@id": "https://angular.io{% if crumb.path.startsWith('/') %}{$ crumb.path $}{% else %}{$ '/' + crumb.path $}{% endif %}", "name": "{$ crumb.text $}" } }{% endfor %} ] }