<nav class="crumbs" role="navigation" aria-label="breadcrumbs">
<ul>
- {{#if component.title}}
- {{#unless (or component.root (eq page.breadcrumbs.0.content component.title))}}
- <li class="crumb"><a href="{{{relativize page.url component.url}}}">{{{component.title}}}</a></li>
- {{/unless}}
+ {{#with page.component}}
+ {{#if (and ./title (not (or ./root (eq @root.page.breadcrumbs.0.content ./title))))}}
+ <li class="crumb"><a href="{{{relativize @root.page.url ./url}}}">{{{./title}}}</a></li>
{{/if}}
+ {{/with}}
{{#each page.breadcrumbs}}
<li class="crumb">
{{~#if (and ./url (eq ./urlType 'internal'))~}}