Skip to content

Commit e335b2a

Browse files
committed
display breadcrumb for component version start page as Introduction
1 parent 4c64caf commit e335b2a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/partials/breadcrumbs.hbs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
{{/with}}
99
{{#each page.breadcrumbs}}
1010
<li>
11-
{{~#if (and ./url (eq ./urlType 'internal'))~}}
11+
{{~#if (and ./discrete (endsWith ./content ' Documentation'))~}}
12+
<a href="{{{relativize ./url}}}">Introduction</a>
13+
{{~else if (and ./url (eq ./urlType 'internal'))~}}
1214
<a href="{{{relativize ./url}}}">{{{./content}}}</a>
1315
{{~else~}}
1416
{{{./content}}}

0 commit comments

Comments
 (0)