Hi, I need to remove the hyperlink from the last time in the breadcrumb.
Here is the body section of the breadcrumb;
[%param *body%]
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
<a href="[@url@]" itemprop="item"><span itemprop="name">[@name@]</span></a>
<meta itemprop="position" content="[%calc [@count@] + 1 /%]" />
</li>
[%/param%]
I noticed the [@count@] is the array index starting from 0. How would know the total number of items in the array so that I can put a condition on the last item?
Thanks,
Adil