{strip}
<div class="{$class}">
	<ul itemscope="" itemtype="http://schema.org/BreadcrumbList">
		<li itemscope="" itemprop="itemListElement" itemtype="http://schema.org/ListItem">
			<a itemprop="item" href="{$SITE_URL}">
				<span itemprop="name">Главная</span>
				<meta itemprop="position" content="1">
			</a>
		</li>
        {foreach item=navItem from=$sectionParents name=navItems}
            {if $smarty.foreach.navItems.last}
                {if $boldLastItem}
					<li itemscope="" itemprop="itemListElement" itemtype="http://schema.org/ListItem">
						<a itemprop="item" href="{$SITE_URL}{$navItem.url}">
							<span itemprop="name">{$navItem.alias}</span>
							<meta itemprop="position" content="{$smarty.foreach.navItems.iteration}">
						</a>
					</li>
                {elseif $noLastLink}

					<li itemscope="" itemprop="itemListElement" itemtype="http://schema.org/ListItem">
						<i itemprop="item">
							<span itemprop="name">{$navItem.alias}</span>
							<meta itemprop="position" content="{$smarty.foreach.navItems.iteration}">
						</i>
					</li>
                {else}
					<li  itemscope="" itemprop="itemListElement" itemtype="http://schema.org/ListItem">
						<a itemprop="item" href="{$SITE_URL}{$navItem.url}">
							<span itemprop="name">{$navItem.alias}</span>

							<meta itemprop="position" content="{$smarty.foreach.navItems.iteration}">
						</a>
					</li>
                {/if}
            {else}
				<li itemscope="" itemprop="itemListElement" itemtype="http://schema.org/ListItem">
					<a  itemprop="item" href="{$SITE_URL}{$navItem.url}">
						<span itemprop="name">{$navItem.alias}</span>
						<meta itemprop="position" content="{$smarty.foreach.navItems.iteration}">
					</a>
				</li>
            {/if}
        {/foreach}
	</ul>
</div>
{/strip}


