| <script type="application/ld+json"> |
| { |
| "@context": "http://schema.org", |
| "@type": "BreadcrumbList", |
| "itemListElement": [{ |
| "@type": "ListItem", |
| "position": 1, |
| "name": "{{{site.title}}}", |
| "item": "{{{site.url}}}" |
| }, |
| { |
| "@type": "ListItem", |
| "position": 2, |
| "name": "{{{page.component.title}}}", |
| "item": "{{{add site.url page.component.url}}}" |
| }, |
| { |
| "@type": "ListItem", |
| "position": 3, |
| "name": "{{{page.componentVersion.displayVersion}}}", |
| "item": "{{{add site.url page.componentVersion.url}}}" |
| }, |
| {{#if page.breadcrumbs}} |
| {{#each page.breadcrumbs}} |
| { |
| "@type": "ListItem", |
| "position": {{add @index 4}}, |
| "name": "{{{ ./content }}}", |
| {{~#if (and ./url (eq ./urlType 'internal'))~}} |
| "item": "{{{add ../site.url ./url}}}" |
| {{~else~}} |
| "item": "{{{add ../site.url ../page.componentVersion.url}}}" |
| {{~/if~}} |
| } |
| {{#unless @last}} |
| , |
| {{/unless}} |
| {{/each}} |
| {{/if}} |
| ] |
| } |
| </script> |