Hi,
How could I now if its the last element of a pagelist foreach?
I want to remove the "a link" url of the current page for my breadcrum?
Thanks
<nav class="breadcrumb" aria-label="breadcrumbs">
<ul>
<@ newPagelist {
type: 'breadcrumbs',
excludeHidden: false
} @>
<@ foreach in pagelist @>
<li><a href="@{ url }">@{ title }</a></li>
<@ end @>
</ul>
</nav>