Skip to content

Commit 4ad6025

Browse files
committed
show component version title instead of compnent title in breadcrumbs
1 parent 44d9b37 commit 4ad6025

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/partials/crumbs.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{{!-- NOTE add entry for current component, but not the home component or if the title matches the first breadcrumb --}}
44
{{#unless (eq page.component.name 'home')}}
55
{{#unless (or (eq page.breadcrumbs.0.content page.component.title) (eq page.breadcrumbs.0.content page.componentVersion.title))}}
6-
<li class="crumb"><a href="{{relativize page.componentVersion.url}}">{{{page.component.title}}}</a></li>
6+
<li class="crumb"><a href="{{relativize page.componentVersion.url}}">{{{page.componentVersion.title}}}</a></li>
77
{{/unless}}
88
{{/unless}}
99
{{#each page.breadcrumbs}}

0 commit comments

Comments
 (0)