File tree Expand file tree Collapse file tree 1 file changed +2
-14
lines changed
src/Elastic.Markdown/Slices/Layout Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Original file line number Diff line number Diff line change 12
12
}
13
13
14
14
<ol id =" breadcrumbs" class =" block items-center w-full py-6" itemscope =" " itemtype =" https://schema.org/BreadcrumbList" >
15
- <li class =" inline text-ink-light text-sm leading-[1.2em]" itemprop =" itemListElement" itemscope =" " itemtype =" https://schema.org/ListItem" >
16
- <a
17
- itemprop =" item"
18
- href =" @Model.Link(" /" )"
19
- >
20
- <span itemprop =" name" class =" hover:text-black" >
21
- Docs
22
- </span >
23
- </a >
24
- <meta itemprop =" position" content =" 1" >
25
- </li >
26
15
@if (firstCrumb != null )
27
16
{
28
17
<li class =" inline text-ink-light text-sm leading-[1.2em]" itemprop =" itemListElement" itemscope =" " itemtype =" https://schema.org/ListItem" >
29
- <span class =" px-1" >/ </span >
30
18
<a
31
19
itemprop =" item"
32
20
href =" @firstCrumb.Url"
33
21
@Htmx.GetHxAttributes(firstCrumb.Url, Model.CurrentNavigationItem?.NavigationRoot.Id == firstCrumb.NavigationRoot.Id)
34
22
>
35
23
<span itemprop =" name" class =" hover:text-black" >@firstCrumb.NavigationTitle </span >
36
24
</a >
37
- <meta itemprop =" position" content =" 2 " >
25
+ <meta itemprop =" position" content =" 1 " >
38
26
</li >
39
27
}
40
28
@if (crumbs .Count > 0 && parents .Count > 3 )
57
45
>
58
46
<span itemprop =" name" class =" hover:text-black" >@item.NavigationTitle </span >
59
47
</a >
60
- <meta itemprop =" position" content =" @(i+3 )" >
48
+ <meta itemprop =" position" content =" @(i+2 )" >
61
49
</li >
62
50
}
63
51
<li class =" inline text-ink-light text-sm leading-[1.2em]" itemprop =" itemListElement" itemscope =" " itemtype =" https://schema.org/ListItem" >
You can’t perform that action at this time.
0 commit comments