{locale group="quiqqer/core" value="control.breadcrumb.text"}

{assign var=Path value=$Rewrite->getPath()} {assign var=Project value=$Rewrite->getProject()} {assign var=Site value=$Rewrite->getSite()} {assign var=First value=$Project->firstChild()} {assign var=Number value=count($Path)} {if $Site->getId() === 1}
- {if $this->getAttribute('firstItemText')}{$this->getAttribute('firstItemText')|escape:'html'}{else}{$First->getAttribute('title')}{/if}
{/if} {foreach from=$Path key=i item=Crumb}
- {if $Site->getId() !== 1 && $i === 0 && $this->getAttribute('firstItemText')}{$this->getAttribute('firstItemText')|escape:'html'}{else}{$Crumb->getAttribute('title')}{/if} {if $i+1 >= $Number} {/if}
{/foreach}